필터 지우기
필터 지우기

Opening a simulink model through same instance : App designer

조회 수: 5 (최근 30일)
Amit Patankar
Amit Patankar 2021년 1월 28일
댓글: Amit Patankar 2021년 2월 3일
I am working in MATLAB app designer. I have one instance of MATLAB GUI already open.. I have used a pushButton in app designer, which opens a simulink model when pushed. But the model is opened in a different GUI Window of MATLAB. I want the simulink model to open through same instance, which is already open.
What changes should I make in the "sim" command ?

채택된 답변

Fangjun Jiang
Fangjun Jiang 2021년 1월 28일
When you open a Simulink model, the model is always opened in the built-in, Mathworks' Simulink GUI. I don't think you can open the Simulink model in a GUI that is contained in your own APP.
  댓글 수: 13
Fangjun Jiang
Fangjun Jiang 2021년 2월 3일
uigetfile() is for selecting a file. It will not open the file.
FileName=uigetfile();
open_system(FileName);
Amit Patankar
Amit Patankar 2021년 2월 3일
Thanks @Fangjun Jiang This resolves my question. Thank you for all you help..

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

태그

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by