How to link a push button and Listbox in Matlab GUI.
Afficher commentaires plus anciens
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.
Réponses (2)
Walter Roberson
le 15 Juin 2015
0 votes
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.
Anand Gudlur
le 15 Juin 2015
0 votes
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!