フィルターのクリア

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 Center および File ExchangeSimulink Functions についてさらに検索

タグ

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by