anyway to transfer data from matlab workspace to appdesigner
102 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi:
I want to develop an app based on the data in the workspace. is there anyway to do it like 'cftool'? i.e. once I open the app, the list of variable in workspace are available :
![Capture.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/234895/Capture.jpeg)
Thanks!
Yu
0 Commenti
Risposte (1)
Payas Bahade
il 26 Ago 2019
Hi Yu,
Assuming that you want to import data from MATLAB workspace into the App Designer, the below mentioned links would be helpful:
2 Commenti
haobo zhang
il 5 Mag 2022
I've got one way, you can try:
variable_names = evalin('base','who');
It'll return a cell array of the variable names in the workspace, then you can load specific data like this:
first_data = evalin('base', variable_names{1});
Vedere anche
Categorie
Scopri di più su Loops and Conditional Statements 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!