User`s guide

remscope
Note that you c an only permanently remove scopes that a re added with
the method
addscope. This is a scope that is outside a model. If you
remove a scope that has been added through a scope block (the scope
block is inside the model), a subsequent run of that model creates the
scope again.
Examples Remove a single scope.
remscope(tg,1)
or
tg.remscope(1)
Remove two scopes.
remscope(tg,[1 2])
or
tg.remscope([1,2])
Remove all scopes.
remscope(tg)
or
tg.remscope
See Also xPCTargettargetobjectmethodsaddscope and getscope.
xPC Target demo scripts listed in “xPC Target Demos” on page 6-9.
18-96