how can I define a global variable in app designer?
Show older comments
I have to built an app that read data in .csv file and then display and process them.
[file,path] = uigetfile;
tab=readtable(fullfile(path,file));
I used this code for import and save the data but I don't know how can I set them as 'Global variables'.
Can someone help me ?
4 Comments
Stephen23
on 16 Aug 2020
Why do you need to do that? Using global variables is not recommended for passing data between workpaces, the recommended methods are explained in the MATLAB documentation:
Matteo Paolucci
on 17 Aug 2020
Kevin Andres Contreras
on 30 Sep 2020
¿Me puedes ayudar?
No me quiere copilar
Matteo Paolucci
on 3 Oct 2020
Edited: Matteo Paolucci
on 3 Oct 2020
Accepted Answer
More Answers (0)
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!