| Stateflow User's Guide | ![]() |
Adding a Junction for Flow Control
In Adding a Sensor to the Model, you add a simulated temperature sensor to the Simulink model. The sensor has a value for the temperature provided by the input data temp, and a periodic event temp_event, that acts as a reporting time for the temperature. In this section, you add more selective control based on the new temperature sensor, which reports the value of the temperature to the Controller Stateflow diagram every second.
Add temperature control to the SFcontrol3 model in the following procedure topics:
| Adding Sensor Data | Deleting, Copying, and Renaming Stateflow Objects | ![]() |
© 1994-2005 The MathWorks, Inc.