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

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 ?

 Réponse acceptée

Mark McBroom
Mark McBroom le 6 Mar 2019

1 vote

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.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by