| Stateflow® | ![]() |
| On this page… |
|---|
When you copy a Stateflow chart from one Simulink model to another, all data objects in the chart hierarchy are copied except those that the Stateflow machine parents. However, you can use the Model Explorer to transfer individual data objects from machine to machine.
To copy a data object, follow these steps:
In the Contents pane of the Model Explorer, right–click the data object you want to copy and select Copy from the context menu.
In the Model Hierarchy pane, right-click the destination Stateflow machine and select Paste from the context menu.
To move a data object, click the object in the Contents pane of the Model Explorer and drag it to the destination Stateflow machine in the Model Hierarchy pane.
![]() | Best Practices for Using Data in Stateflow Charts | Defining Events | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |