Simulink subsystem selection GUI

조회 수: 2 (최근 30일)
Francesco
Francesco 2016년 7월 5일
답변: Arunkumar M 2018년 11월 11일
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일
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.

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by