Why do I receive an error about closing a MAT file in the TEMP directory when I attempt to save a large number of variables using the SAVE command in MATLAB 7.9 (R2009b)?
8 views (last 30 days)
Show older comments
MathWorks Support Team
on 29 Jan 2013
Edited: MathWorks Support Team
on 13 Jun 2019
I get the following error when I try to run a test that loads large data in SystemTest:
Error closing file C:\Temp\test15016941.mat
Accepted Answer
MathWorks Support Team
on 13 Jun 2019
Edited: MathWorks Support Team
on 13 Jun 2019
This is due to the way logged data is saved in MAT files in MATLAB 7.9 (R2009b).
As a workaround, use the -v7.3 option while saving data to MAT files:
save -v7.3 mymat
0 Comments
More Answers (0)
See Also
Categories
Find more on Prepare Model Inputs and Outputs 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!