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

9 ビュー (過去 30 日間)
youssef michel
youssef michel 2017 年 7 月 13 日
コメント済み: Erik Voigt 2018 年 2 月 28 日
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?

カテゴリ

Help Center および File ExchangeSubsystems についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by