Stateflow | ![]() ![]() |
Set specified properties with the specified values
Syntax
Description
The set
method sets the value of a specified property or sets the values of a set of specified properties for this object. You specify properties and values through pairs of property (name, value) arguments.
The get
method is also vectorized so that it sets an m
-by-n
cell array of values for an array of m
objects and an array of n
properties.
Arguments
Returns
Example
The following command sets the Name
and Description
properties of the State object s
:
The following command sets the Position
property of the State object s
:
![]() | regenerateAll | setCodeFlag | ![]() |