MATLAB Answers

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 ?

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.