xPC Target | ![]() ![]() |
Remove signals from a scope represented by a scope object
Syntax
remsignal(scope_object)
remsignal(scope_object, signal_index_vector)
scope_object.remsignal(signal_index_vector)
remsignalscope_index
=signal_index
,signal_index
, . . .
Arguments
Description
Method for a scope object. The signals must be specified by their index, which may be retrieved using the target object method getsignalid
. If the scope_object_vector has two or more scope object, the same signals are removed from each scope. The argument SIGNALS is optional; if left out, all signals are removed.
Examples
Remove signals 0 and 1 from the scope represented by the scope object sc1.
sc1.get('signals') ans= 0 1
Removed signals from the scope on the target PC with the scope object property Signals updated.
remsignal(sc1,[0,1]) or sc1.remsignal([0,1])
See Also
The xPC Target scope object method remsignal
, and the target object method getsignalid
.
![]() | get | set | ![]() |