Remove scope from target computer
remscope has no
remscope does not delete the scope
object that represents the scope on the development computer.
You can permanently remove only a scope that is added with the
addscope. This scope is outside the model.
If you remove a scope that a scope block added inside the model, a
subsequent run of that model recreates the scope.
At the target computer command line, you can remove one scope or all scopes:
remscope scope_number remscope all
tg = slrt; remscope(tg)
tg = slrt; remscope(tg,1)
tg = slrt; remscope(tg,[1 2])
scope_number— New scope number
New scope number. This argument is optional. The default value
is the next available integer in the target object property
If you enter the scope number for an existing scope object, the result is an error.
scope_number_vector— Vector of new scope numbers
unsigned integer vector
Vector of new scope numbers. If you enter the scope number for an existing scope object, the result is an error.
Real-Time Application | Real-Time Application Properties |
Real-Time File Scope |
Real-Time Host Scope |
Real-Time Target Scope |
SimulinkRealTime.target.getscope | Target Computer Commands