Saving and Loading variables in Matlab Drive/Matlab Online
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.
Answers (1)
Categories
Find more on Startup and Shutdown 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!