GUI Guide: How can I access data from workspace (.mat file) and plot this data, using a GUI interface to select data to plot?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi there, Im new to GUI and a little bit more experienced in MatLAB.
I would like to select data in the form of .mat file, that is saved in different folders (16 trials of an experiment), and they are all saved in 16 different workspace .matfiles.
I would like to create a GUI, so I can select the data let's say 3-10, to plot the selected data. The GUI would just facilitate and make it automatized, also so I can select specific data in each of the workspace files.
Please help me! All the best, Luciana
BASICALLY DOING THIS on GUI Guide:
Select the results folder (uigetfolder…) Dir(‘**/*.mat’) … this gives you a list of single Measurements. Show the list from before e.g. in a GUI - list-box (multi-select) The GUI will have a check-box to select the channels (can be a single channel or also different channels (1+2+3) )
After the selection is done – the selected channels will be plotted in a new figure.
0 comentarios
Respuestas (1)
Sara Nadeau
el 29 de Oct. de 2018
Hi Luciana,
Do you have access to Simulink? Sounds like the Simulation Data Inspector could be very useful to you. You can import data, create plots, and then export the plots to a MATLAB figure using the Snapshot functionality.
0 comentarios
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!