xPC Target | ![]() ![]() |
Return the property values for target and scope objects.
Syntax
MATLAB command line
get(target_object, 'target_object_property')
Arguments
target_object |
Name of a target object |
target_object_property |
Name of a target object property. |
Description
Method of target objects. Gets the value of readable target object properties from a target object.
Examples
List the value for the target object property StopTime
. Notice the property name is a string, in quotes, and not case-sensitive.
get(tg,'stoptime') or tg.get('stoptime') ans = 0.2
See Also
The xPC Target target object method set.
The scope object methods get
and set
. The built in MATLAB functions get
and set
.
![]() | close | getlog | ![]() |