Is there a way in Simulink to automatically duplicate the same subsystem any number of times?
조회 수: 7 (최근 30일)
이전 댓글 표시
Hi,
I have a subsystem which I need to duplicate several times in the same model. The trouble is that the number of those subsystems needed is not fixed but depends on the parameters provided by the user. So I can't manually paste it, I need the model to be able to call the subsystem as many times as is needed. Can someone point me in the right direction to do that?
Thanks
댓글 수: 0
답변 (1개)
Azzi Abdelmalek
2014년 5월 9일
Put your subsystem in a library file, then use add_bloc to add your subsystem to your model
참고 항목
카테고리
Help Center 및 File Exchange에서 Subsystems에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!