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)?

7 vues (au cours des 30 derniers jours)
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

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 13 Juin 2019
Modifié(e) : MathWorks Support Team le 13 Juin 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

Plus de réponses (0)

Catégories

En savoir plus sur Prepare Model Inputs and Outputs dans Help Center et File Exchange

Produits


Version

R2009b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by