Info
This question is closed. Reopen it to edit or answer.
how to interact betwen a GUI created by guide and a simple interface?
1 view (last 30 days)
Show older comments
Please i want a way to interact betwen a GUI created by guide and a simple interface when it is launched there no variables in the workspace
0 Comments
Answers (1)
Walter Roberson
on 13 Jun 2013
The "handles" structure created by GUIDE will be associated with the figure that is first created by GUIDE, so if you want to access those from the other interface you need to know what the figure number is (or you need to search for an appropriate object.)
guidefigure = .... %get it through one way or another
handles = guidata(guidefigure); %can be done even within a different figure
2 Comments
Walter Roberson
on 13 Jun 2013
function pushbutton_Callback(hObject, event, handles);
name_of_other_interface_goes_here();
end
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!