How would I allow a user of my GUI to load data from a specific location in MATLAB?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I would like to perform a load data into the MATLAB workspace from a *.mat file. I would like to do this from a GUI button click.
Risposta accettata
MathWorks Support Team
il 27 Giu 2009
This can be done by allowing the user to specify the file location by using the UIGETFILE command.
The following example lets user locate and then load workspace from the MAT file.
[file,path] = uigetfile('*.mat','Load workspace from')
load([path file])
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Workspace Variables and MAT Files in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!