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

조회 수: 19 (최근 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);
subhra chandan behera
subhra chandan behera 2017년 7월 5일
편집: subhra chandan behera 2017년 7월 5일
Hi ganesh I want to close simulink window by command after launching my project. I have attached a snapshot.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by