Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling GUI figure

Status
Not open for further replies.

milbos

Electrical
Joined
Sep 9, 2005
Messages
2
Location
SI
Hi
My question is:
I have two GUI's for example delo.fig (delo.m) and dodatek.fig (dodatek.m). First I start GUI delo.fig and I want to execute GUI dodatek.fig when I press button in GUI delo.fig.
So, how can I call one GUI from another?

Thank you
 
Set the callback function of the button in the first figure to run the second figure.

eg
% "handle" is the handle of the button in delo.m
set(handle, 'CallBack', 'dodatek;');

M



--
Dr Michael F Platten
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top