User`s guide

addscope
Purpose Create scopes
Syntax MATLAB command line
Create a scope and scope object w ithout assigning to a M ATLAB
variable.
addscope(target_object, scope_type, scope_number)
target_object.addscope(scope_type, scope_number)
Create a scope, scope object, and assign to a MATLAB variable
scope_object = addscope(target_object, scope_type, scope_number)
scope_object = target_object.addscope(scope_type, scope_number)
Target PC command line When you are using this command on
the target PC, you can only add a scope of type
target.
addscope
addscope scope_number
Arguments
target_object
Name of a target object. The default targe t name
is
tg.
scope_type
Values are 'host', 'target', or 'file'.This
argument is optional with
host as the default value
.
scope_number
Vector of new scope indices. This argument is
optional. The next available integer in the targe
t
object property
Scopes as the default value.
If y ou enter a scope index for an e xisting scope o
bject,
the result is an error.
Description addscope creates a scope of the specified type and updates the target
object property
Scopes. This m ethod returns a scope object vector. If
the r e sult is not assigned to a variable, the scope object properties
are listed in the MATLAB window. The x PC Target product supports
18-3