User`s guide

set
7-16
7set
Purpose Change property values for scope objects
Syntax MATLAB command line
set(scope_object_vector)
set(scope_object_vector, property_name1, property_value1,
property_name2, property_value2, . . .)
scope_object_vector.set(’property_name1’, property_value1, ..)
set(scope_object, ’property_name’, property_valuse, . . .)
Arguments
Description
Method for scope objects. Sets the properties of the scope object. Not all
properties are user-writable
Properties must be entered in pairs, or using the alternate syntax, as
one-dimensional cell arrays of the same size. This means they have to both be
row vectors or both column vectors, and the corresponding values for properties
in property_name_vector are stored in property_value_vector.
The function set typically does not return a value. However, if called with an
explicit return argument, for example, a = set(target_object, property_name,
property_value), it returns the value of the properties after the indicated
settings have been made.
Examples Get a list of writable properties for a scope object.
sc1 = getscope(tg,1)
set(sc1)
xPC Scope Object:
Writable Properties
scope_object
Name of a scope object, or a vector of scope objects
property_name Name of a scope object property. Always use
quotes
property_value Value for a scope object property. Always use
quotes for character strings, quotes are optional
for numbers.