How to create a subsystem programmatically using a specified set of blocks ?
14 次查看(过去 30 天)
显示 更早的评论
I am trying to Use the function Simulink.BlockDiagram.createSubsystem to create a subsystem from a set of blocks using matlab script, however the function is not working, any ideas why ?
0 个评论
回答(1 个)
ES
2017-7-13
Which version of MATLAB you are using? Because in newer versions Simulink.BlockDiagram.createSubsystem is available as Simulink.BlockDiagram.createSubSystem (note the upper case S)
If this is not the problem, what is your exact error message?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!