Saving and Loading variables in Matlab Drive/Matlab Online
2 views (last 30 days)
Show older comments
I'm working on Matlab Online with files in Matlab Drive. If I save a file
A = [1,2,3,4,5];
save vari A
vari.mat appears in the working folder on Matlab Drive.
I need to load and save files from other folders within Matlab Drive, could someone tell me how this is done please?
I've made a few basic guesses, e.g. made a subfolder testsub, but get
A = [1,2,3,4,5];
save /testsub/vari A
Error using save
Cannot create 'vari.mat' because '/testsub' does not exist.
0 Comments
Answers (1)
See Also
Categories
Find more on Environment and Settings 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!