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!