I need command to close simulink project window after launching simulink project file in matlab 2015b??

31 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Gavin Walker
Gavin Walker le 23 Fév 2018
You can use the Simulink Project API to close the currently open project:
>> project = simulinkproject;
>> project.close;

Plus de réponses (1)

Ganesh Hegade
Ganesh Hegade le 27 Jan 2017
You can use close_system command to close Simulink system.
close_system('SystemName');
  3 commentaires
Ganesh Hegade
Ganesh Hegade le 27 Jan 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);
subhra chandan behera
subhra chandan behera le 5 Juil 2017
Modifié(e) : subhra chandan behera le 5 Juil 2017
Hi ganesh I want to close simulink window by command after launching my project. I have attached a snapshot.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Create Large-Scale Model Components dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by