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 ?

 채택된 답변

Mark McBroom
Mark McBroom 2019년 3월 6일

1 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

질문:

2019년 3월 6일

답변:

2019년 3월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by