Is it possible to store a Stateflow object (sub-chart, state etc.) in a library?

1 view (last 30 days)
Is it possible to store a Stateflow object (sub-chart, state etc.) in a library? Further, can instances of that object be used in the same or other Stateflow charts? 
 

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 6 Dec 2016
It is possible to store custom Stateflow charts as a whole in libraries for use in multiple models. As far as Stateflow objects go, they cannot be stored as a stand-alones in libraries, but they can be placed inside charts and then stored. If Stateflow objects need to be used across multiple models, it is worthwhile to look into Atomic subcharts.
Documentation for Atomic subcharts - <http://www.mathworks.com/help/stateflow/ug/what-is-an-atomic-subchart.html?searchHighlight=atomic%20subchart>

More Answers (0)

Categories

Find more on Complex Logic in Help Center and File Exchange

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!