save choices and file size?
Show older comments
I just noticed that if I save a particular variable with:
"save test_variable"
the resultant file is 778 MB in size. However, if I save the same file from the File menu with:
File -> Save Workspace As...
the resultant file is much smaller. Why?
Answers (1)
Walter Roberson
on 13 Jun 2012
Check your MATLAB preferences "General" -> "MAT-Files" to see which MAT file version the GUI is using.
Note: "save test_variable" would mean to save the entire workspace into test_variable.mat . If you want to save only one particular variable you must give the file name before that, such as
save test_file.mat test_variable
Categories
Find more on Whos in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!