How do I create a GUI to plot graphs using data stored in .mat file?
Mostrar comentarios más antiguos
The variables to be plotted by the GUI are stored in a .mat file. How do I display them in the GUI listbox uisng GUIDE? What codes can I use to achieve this?
1 comentario
Adam
el 23 de Jun. de 2017
The documentation contains various examples of doing things with GUIDE and of using listboxes if you do the obvious searches.
Respuestas (1)
What have you tried so far?
How should the loading be triggered? Does the user select the MAT file individually or should it be loaded automatically when Matlab starts?
Insert this either in the OpeningFcn or in the callback of another control:
Data = load(FileName); % However FileName is determined
set(handles.listbox1, 'String', Data.WhatToDisplay);
Currently only such a vague answer is possible. Explain more details and show the current code to get more help.
Categorías
Más información sobre Whos en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!