MATLAB Answers

0

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

Asked by Adel Fernandez on 6 Mar 2019
Latest activity Answered by Mark McBroom on 6 Mar 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 ?

  0 Comments

Sign in to comment.

1 Answer

Answer by Mark McBroom on 6 Mar 2019
 Accepted Answer

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.