Simulink subsystem selection GUI

1 visualizzazione (ultimi 30 giorni)
Francesco
Francesco il 5 Lug 2016
Risposto: Arunkumar M il 11 Nov 2018
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.

Risposte (1)

Arunkumar M
Arunkumar M il 11 Nov 2018
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.

Categorie

Scopri di più su Subsystems in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by