How to link a push button and Listbox in Matlab GUI.
1 view (last 30 days)
Show older comments
I am a starter in Matlab and Walter Roberson helped me with my precious question. COuld Someone help me with the code for the Steps 1 & 2 mentioned below. I have just started Matlab and also taking online training classes since i got time constraints seeking for help. Thanks.I intend to have this GUI:
- One Push Button to load mat files.
- List box linked push button (1) so list populates on its own.
- Another push button so i could select from the list box and plot a contour.
- To plot x,y,z Radio buttons.
Is this Possible? If yes please could u help me with this.
Thanks.
0 Comments
Answers (2)
Walter Roberson
on 15 Jun 2015
No, as explained in http://uk.mathworks.com/matlabcentral/answers/223798-how-do-i-link-a-pushbutton-and-a-list-box list boxes do not populate themselves.
The code to load a .mat file as a result of pushing a button is given in the above link.
0 Comments
See Also
Categories
Find more on Startup and Shutdown 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!