| Stateflow | ![]() |
Define the Stateflow Interface
Now that you have defined events and data in your Stateflow diagram as Input from Simulink, you must now make connections in the Simulink model between other blocks and the Stateflow block to provide sources for the events and data. This model has the following final appearance:
To construct this model in Simulink using your existing chart, do the following:
Switch Events, and the bottom switch temp value.
Switch Events switch.
Switch Events switch in parallel to both of the Mux input ports.
On-Off.
| Define Input Data | Define Simulink Parameters | ![]() |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |