xPC Target | ![]() ![]() |
Getting the Value of a Scope Property
You can list a property value in the MATLAB window, or assign that value to a MATLAB variable. With xPC Target you can use either a function syntax or an object property syntax.
The syntax get(scope_object_vector, property_name)
can be replaced by
For example, to assign the start time from the scope object sc1
:
Assignment can also be done using a vector of scope objects, for example
Notice that the indices are MATLAB vector indices and not xPC Target scope indices.
To get a list of readable properties, type scope_object
. The property values are listed in the MATLAB window.
![]() | Setting the Value of a Scope Property | Using the Method Syntax with Scope Objects | ![]() |