Has save() bug been fixed?
Mostrar comentarios más antiguos
I have a user-defined object that is failing to save in R2024b,
>> save testsave mgr
Warning: Variable 'mgr' was not saved. For variables larger than 2GB use MAT-file version 7.3 or later.
It is true that mgr is greater than 2GB. However, it belongs to a class with a saveobj() defined, which greatly compresses the size of the saved object. But the saveobj() method is never reached. The save() operation rejects the variable based on its original size, and never calls saveobj().
I think this has got to be a bug. Does anyone know if it has been fixed in more recent Matlab versions?
1 comentario
Stephen23
hace alrededor de 4 horas
"The save() operation rejects the variable based on its original size"
Which is exactly what the SAVE documentation refers to: the variable size.
"I think this has got to be a bug."
Why? The SAVE documentation clearly documents the limits of MAT files according to the variable size, not in terms of any (possibly compressed) resulting file size. It is odd to describe something working exactly as documented to be a "bug".
Respuesta aceptada
Más respuestas (0)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!