"Getting Started with Stateflow" example files

Example files for the "Getting Started with Stateflow" video.

https://github.com/mathworks/getting-started-with-stateflow

You are now following this Submission

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

https://www.mathworks.com/videos/getting-started-with-stateflow-1608719415568.html

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 (2026). "Getting Started with Stateflow" example files (https://github.com/mathworks/getting-started-with-stateflow/releases/tag/1.0.2), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2019b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.2

See release notes for this release on GitHub: https://github.com/mathworks/getting-started-with-stateflow/releases/tag/1.0.2

1.0.1

See release notes for this release on GitHub: https://github.com/mathworks/getting-started-with-stateflow/releases/tag/1.0.1

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.