How call another GUI window on push button event??

how can call another GUI window using this callback function.
"function pushbutton1_Callback(hObject, eventdata, handles)"
Another GUI window is already created. I only just want to call that window using this function....
Please help..........

Answers (1)

Hi!
just write the name of the second window,
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton21 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
window2
Good luck!

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Asked:

on 10 May 2012

Commented:

on 4 Jul 2020

Community Treasure Hunt

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

Start Hunting!