| Stateflow User's Guide | ![]() |
Modifying Output Data with Actions
If you are simulating a model with a control device such as a motor, the Stateflow diagram needs to hand over to Simulink some indication of the state that the motor is in to continue the simulation. You can imagine that such information might inform the model that the motor is on and now providing cooling or heating to the model, or that the motor is off and plant temperature or pressure is increasing accordingly.
Use the following procedure topics to output modified data from the Controller Stateflow diagram to the Simulink test interface:
| Sending Multiple Trigger Events to a Stateflow Chart | Adding State Entry Actions | ![]() |
© 1994-2005 The MathWorks, Inc.