File Exchange

image thumbnail

"Getting Started with Stateflow" example files

version 1.0.2 (338 KB) by Dave Guglielmo
Example files for the "Getting Started with Stateflow" video.


Updated 05 Jan 2021

From GitHub

View Version History

View license on GitHub

Explore the models created in the "Getting Started with Stateflow" video.

model1_batteryFirst.slx - Model using the battery if there is any charge.
model2_smartDecision.slx - Model using the battery only during peak hours, or when the signal from the Weather Detector indicates it has been sunny.

All models were created and saved in R2020b. If you are using an earlier release, do the following before opening any models:

(1) Click Preferences in the Home tab of the MATLAB toolstrip.
(2) In the Preferences dialog, select the Simulink pane and then click Open Simulink Preferences.
(3) In the Simulink Preferences dialog, select the Model File pane.
(4) Clear the "Do not load models created with a newer version of Simulink" option.

Cite As

Dave Guglielmo (2021). "Getting Started with Stateflow" example files (, GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2020b
Compatible with R2019b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!