I have a main fig file for my matlab gui, and I have created another one that I want to be able to open with the click of a button. How?
function NewWindowButton_Callback (hObject, eventdata, handles)
% Open the new window - otherwindow.fig -

 採用された回答

Geoff Hayes
Geoff Hayes 2016 年 11 月 11 日

0 投票

Ryan - if you mean that you have created another GUI (using GUIDE) and you wish to open that other GUI from within the first one, then you can just call it as
function NewWindowButton_Callback(hObject, eventdata, handles)
% call your other GUI
OtherGui;
where OtherGui is the name of your other GUI (the name for the m and fig files).

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePrinting and Saving についてさらに検索

タグ

質問済み:

2016 年 11 月 9 日

回答済み:

2016 年 11 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by