| Contents | Index |
data_new = Stateflow.Data(parent)
The Stateflow.Data method is a constructor method for creating data for a parent machine, chart, state, box, or function, that returns a handle to the Data object for the new data.
Handle to an object for the parent machine, chart, state, box, or function of the new data |
data_new | Handle to the Data object for the new data |
If sA is a handle to a State object for an existing state A, the following command creates a new data parented (contained by) state A:
data_new = Stateflow.Data(sA)
The new data is named 'data' with an incremented integer suffix to distinguish additional creations. data_new is a handle to the Data object for the new data.

Learn how engineers use Stateflow to model state machines in their Simulink models.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |