| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → xPC Target |
| Contents | Index |
| Learn more about xPC Target |
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, . . .
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. |
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.
Remove signals 0 and 1 from the scope represented by the scope object sc1.
sc1.get('signals')
ans= 0 1Remove signals from the scope on the target PC with the scope object property Signals updated.
remsignal(sc1,[0,1])
or
sc1.remsignal([0,1])
The xPC Target scope object method remsignal and the target object method getsignalid.
![]() | remscope | rmdir | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |