Create and open new fig
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ryan Sinfield
le 9 Nov 2016
Réponse apportée : Geoff Hayes
le 11 Nov 2016
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 -
0 commentaires
Réponse acceptée
Geoff Hayes
le 11 Nov 2016
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!