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

27 views (last 30 days)
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.

Accepted Answer

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

More Answers (1)

Ganesh Hegade
Ganesh Hegade on 27 Jan 2017
You can use close_system command to close Simulink system.

Sign in to comment.


Find more on Programmatic Model Editing in Help Center and File Exchange


No tags entered yet.


Community Treasure Hunt

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

Start Hunting!

Translated by