creating GUI for my program
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Matt Fig
2011-3-25
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 个评论
sandeep
2011-3-28
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,
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!