Simulink subsystem selection GUI

Is there any command or method to open the Simulink subsystem selection GUI from a Matlab script?
I'm referring to the same GUI you got when opening the Model Advisor (from Simulink menu) or selecting the subsystem for running coverage.
Thanks in advance.

回答 (1 件)

Arunkumar M
Arunkumar M 2018 年 11 月 11 日

0 投票

RefBlock = find_system(<model_name>,'BlockType','SubSystem');
This gives you list of subsystems in 1st depth in your model (replace model_name with your model name/path). You can use this list as an input for your GUI.

カテゴリ

ヘルプ センター および File ExchangeSubsystems についてさらに検索

質問済み:

2016 年 7 月 5 日

回答済み:

2018 年 11 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by