Effacer les filtres
Effacer les filtres

calling another gui /window from one push_button(or any other tool from gui).

2 vues (au cours des 30 derniers jours)
sweta arya
sweta arya le 13 Oct 2015
calling another gui /window from one push_button(or any other tool from gui).
  2 commentaires
Adam
Adam le 13 Oct 2015
What about it? It is usual to actually ask a question if you want a useful answer.
sweta arya
sweta arya le 15 Oct 2015
how to call another gui by clicking push button on gui.

Connectez-vous pour commenter.

Réponses (1)

Varun Pai
Varun Pai le 15 Oct 2015
Dear Sweta,
I can give you one solution for the same. Assume that you are having 2 pushbuttons 1 and 2. You are triggering pushbutton 1 which calls pushbutton 2 and and an image is displayed on the axes.
function pushbutton1_Callback(hObject,eventdata,handles)
pushbutton2_Callback(hObject, eventdata, handles);
guidata(hObject, handles);
function pushbutton2_Callback(hObject,eventdata,handles)
axes(handles.axes1);
im = imread('cameraman.tif');
imshow(im);
guidata(hObject, handles);
You can control any other gui functions like this.

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!

Translated by