xPC Target | ![]() ![]() |
Return the property values for scope objects
Syntax
get(scope_object_vector) get(scope_object_vector, 'scope_object_property') get(scope_object_vector, scope_object_property_vector)
Arguments
target_object |
Name of a target object |
scope_object_vector |
Name of a single scope, or name of a vector of scope objects |
scope_object_property |
Name of a scope object property |
Description
Method of scope objects. Gets the value of readable scope object properties from a scope object or the same property from each scope object in a vector of scope objects.
Examples
List all of the readable properties, along with their present values. This is given in the form of a structure, whose fieldnames are the property names and field values are property values.
get(sc)
List the value for the scope object property Type
. Notice the property name is a string, in quotes, and is not case-sensitive.
get(sc,'type') ans = Target
See Also
The xPC Target scope object method set
. The target object methods get
and set
. The built in MATLAB functions get
and set
.
![]() | addsignal | remsignal | ![]() |