Effacer les filtres
Effacer les filtres

How can I open Stateflow Charts in new window using configuration?

1 vue (au cours des 30 derniers jours)
geongu park
geongu park le 20 Juil 2017
Commenté : Aditya Kaki le 25 Juil 2018
I have been using Simulink/Stateflow (MATLAB 2016b/ 2014b).
I would like to know configuration to open the Stateflow Charts in new windows.
(Not simulink window)
Of course I know how to use the right button of mouse and how to use the shitf key.
But I want to know how to set it up through configuration or programatically.
Please let me know!!!

Réponses (1)

Navdeep Singh
Navdeep Singh le 2 Août 2017
This can be done using open_system command. Refer documentation here.
If you have a .slx model named 'myModel' with stateflow chart named 'Chart'. Running following commands in matlab will open up the chart in a new window:
>> load_system('myModel')
>> open_system('myModel/Chart','window')
  1 commentaire
Aditya Kaki
Aditya Kaki le 25 Juil 2018
I am using MATLAB 2016b
Using open_system(path) function the stateflow can be opened but say if the path is specifying a state in a stateflow it fails to open the model.

Connectez-vous pour commenter.

Catégories

En savoir plus sur 복잡한 논리 dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!