xPC Target    
set

Change property values for scope objects

Syntax

MATLAB command line

Arguments

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.

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.

The property value for the scope object sc1 is changed to on

See Also

The xPC Target scope object method get. The target object methods set and get. The built in MATLAB functions get and set.


 remsignal start