How can I access cell array of the base workspace variables from inside a GUI function?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
payman khayree
il 29 Giu 2014
Risposto: Image Analyst
il 29 Giu 2014
I need to access the cell array of all the variables in the base workspace from inside a GUI function and I can not use the "who" command because it returns the variables defined inside the GUI function not the main workspace. And is there any for using "isempty" function for the main workspace from inside a GUI function? I mean I want it to return 1 if the base workspace is cleared.
can anyone help me? thanks in advance
0 Commenti
Risposta accettata
Image Analyst
il 29 Giu 2014
You should not have to do this. I never do. Never have I needed to do that, not over years and years of MATLAB programming. However, if you think you do, then take a look at the assignin() and evalin() functions.
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!