How to create a subsystem programmatically using a specified set of blocks ?

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 ?

답변 (1개)

ES
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?

카테고리

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

태그

질문:

2017년 7월 13일

댓글:

2018년 2월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by