| xPC Target | ![]() |
Remove a scope from the target PC.
Syntax
remscope(target_object, scope_index_vector) target_object.remscope(scope_index_vector) remscope(target_object) target_object.remscope
remscope scope_index remscope 'all'
Arguments
target_object |
Name of a target object. The default name it tg. |
scope_index_vector |
Vector of existing scope indices listed in the target property Scopes. |
| scope_index |
Single scope index. |
Description
Method of a target object. If a scope index is not given, then the method remscope deletes all scopes on the target PC. The method remscope has no return value. The scope object representing the scope on the host PC is not deleted.

Examples
remscope(tg,1) or tg.remscope(1)
remscope(tg,[1 2]) or tg.remscope([1,2])
remscope(tg) or tg.remscope
See Also
The xPC Target target object methods addscope and getscope. The xPC target M-file demo scripts listed in xPC Target Demos.
| reboot | set | ![]() |