creating GUI for my program
3 views (last 30 days)
Show older comments
Hi all, I m doing a project on plotting points and finding the surface area and i m done with it successfully but just wanted to know how to develop a GUI for my program. Any basic ideas please.
0 Comments
Accepted Answer
Matt Fig
on 25 Mar 2011
From your comment on Andrew's Answer, it seems that you found how to call your function by one pushbutton, but now need to store the data returned from your function. You can do this by using the GUIDATA function.
Once the data has been stored, you can use other pushbuttons to plot the data in different ways. For example, in the callback to the 'points' button, you retrieve the data (use GUIDATA again) then plot the points.
1 Comment
sandeep
on 28 Mar 2011
Hi Matt,
I am also having bit similar question. I want to make a call back function which takes the input from an M file and plots the data.
For eg: I am defining different push buttons, one push button should take the input file and remaining two should take numbers. The other push buttons are to get the outputs. I am trying to link the M file to the callbacks so that I can get the outputs using the push buttons. I used similar technique by typing the name of M file.
Can you please tell me how can I use the data from M file so that I can call the data using callback functions.
Regards,
More Answers (1)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!