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

1 Ansicht (letzte 30 Tage)
Adel Fernandez
Adel Fernandez am 6 Mär. 2019
Beantwortet: Mark McBroom am 6 Mär. 2019
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 ?

Akzeptierte Antwort

Mark McBroom
Mark McBroom am 6 Mär. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by