I need command to close simulink project window after launching simulink project file in matlab 2015b??
19 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
subhra chandan behera
il 27 Gen 2017
Risposto: Gavin Walker
il 23 Feb 2018
I am launching a simulink project file in my script to do some work and i am able to close the same project file but i am unable close its simulink project window.
Can anybody suggest me a suitable command for that.
0 Commenti
Risposta accettata
Gavin Walker
il 23 Feb 2018
You can use the Simulink Project API to close the currently open project:
>> project = simulinkproject;
>> project.close;
0 Commenti
Più risposte (1)
Ganesh Hegade
il 27 Gen 2017
You can use close_system command to close Simulink system.
close_system('SystemName');
3 Commenti
Ganesh Hegade
il 27 Gen 2017
It will be the simulink system name what you have created. You can use 'gcs' in place of system name to close the current open system.
close_system(gcs);
Vedere anche
Categorie
Scopri di più su Dependency Analysis in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!