Effacer les filtres
Effacer les filtres

Calling Multiple GUI's

2 vues (au cours des 30 derniers jours)
Hello kity
Hello kity le 2 Jan 2013
I want to make an 'About Program' in my prog. So in the figure editor>Menu editor i made a tab called info, then 'About Program'. this made a callback:
% --------------------------------------------------------------------
function AboutProgram_Callback(hObject, eventdata, handles)
% hObject handle to Info_1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
This should happen after pressing About program; call a new fig (gui), inside some text about the prog and a button OK to close fig.
my question is how do i make him call that fig inside the initial gui...
hope its clear

Réponse acceptée

David
David le 2 Jan 2013
Modifié(e) : David le 2 Jan 2013
If I understand correctly, you've one GUI for whatever function your code is designed to carry out, and a second GUI that just contains some text with no interactive objects at all. If that's the case, just call the second GUI by its name.
AboutProgram;
I wouldn't normally call a form this way as it returns nothing to its parent form, but as it doesn't do anything I don't think it matters. Personally I'd find it easier to add some comment that can be accessed with help.
  1 commentaire
vishnu r
vishnu r le 14 Mai 2013
If it contains some text with interactive objects, what will we do ????

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Programming 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!

Translated by