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

30 次查看(过去 30 天)
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.

采纳的回答

Gavin Walker
Gavin Walker 2018-2-23
You can use the Simulink Project API to close the currently open project:
>> project = simulinkproject;
>> project.close;

更多回答(1 个)

Ganesh Hegade
Ganesh Hegade 2017-1-27
You can use close_system command to close Simulink system.
close_system('SystemName');
  3 个评论
Ganesh Hegade
Ganesh Hegade 2017-1-27
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);

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Dependency Analysis 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by