| Stateflow® | ![]() |
propList = thisObject.struct
The struct method returns and displays a MATLAB structure containing the property settings of this object.
Note You can change the values of the properties in this structure just as you would a property of the object. However, the MATLAB structure is not a Stateflow object and changing it does not affect the model. |
transitions | The object for which to display property settings. Can be any Stateflow object type. |
propList | MATLAB structure listing the properties of this object |
If State object sA represents a state A, the command x = sA.struct returns a MATLAB structure x. You can use dot notation on x to report properties or set the values of other variables. For example, the command y=x.Name sets the MATLAB variable y to the value of the Name property of state A, which is 'A'. The command x.Name = 'Kansas' sets the Name property of x to 'Kansas' but does not change the Name property of state A.
![]() | Stateflow.TruthTable | up | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |