User`s guide
remsignal
14-72
14remsignal
Purpose Remove signals from a scope represented by a scope object
Syntax MATLAB command line
remsignal(scope_object)
remsignal(scope_object, signal_index_vector)
scope_object.remsignal(signal_index_vector)
Target command line
remsignal scope_index = signal_index, signal_index, . . .
Arguments
Description remsignal removes signals from a scope object. The signals must be specified
by their indices, which you can retrieve using the target object method
getsignalid. If the scope_index_vector has two or more scope objects, the
same signals are removed from each scope. The argument
signal_index is
optional; if it is left out, all signals are removed.
Note You must stop the scope before you can remove a signal from it.
Examples Remove signals 0 and 1 from the scope represented by the scope object sc1.
sc1.get('signals')
ans= 0 1
Remove signals from the scope on the target PC with the scope object property
Signals updated.
remsignal(sc1,[0,1]) or sc1.remsignal([0,1])
scope_object
MATLAB object created with the target object
method
addscope or getscope.
signal_index_vector
Index numbers from the scope object property
Signals. This argument is optional, and if it is
left out all signals are removed.
signal_index
Single signal index.