Reuse a State Multiple Times in a Chart (variable times)

1 view (last 30 days)
Suppose you have the situation discussed in the example:
What is the best solution if you have to reuse many states, 100, 1000 or N (variable), and generate code ?

Accepted Answer

Mark McBroom
Mark McBroom on 6 Mar 2019
One option could be to use a Simulink For-Each subsystem. Inside the for-each subsystem would be a single instance of the state chart.

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!