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 -

 Respuesta aceptada

Geoff Hayes
Geoff Hayes el 11 de Nov. de 2016

0 votos

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).

Más respuestas (0)

Categorías

Más información sobre Printing and Saving en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 9 de Nov. de 2016

Respondida:

el 11 de Nov. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by