How to disable validateDataType when saving and loading object?

1 visualización (últimos 30 días)
Mahmoud Elzouka
Mahmoud Elzouka el 1 de Mzo. de 2023
Comentada: Vanshika Vaishnav el 6 de Mzo. de 2023
I have a huge and arbitrarily deep object, which properties contain arrays of objects, which properties contain arrays of objects, ...
I save this object to *.mat file.
When I load, almost half of the time is spent on a function called "validateDataType"
I am also using "arguments" block everywhere in my code to enhance its codumentation, and it is not an option for me to take it out.
How can I ignore "validateDataType" during save and load, and any other time when I am very confident this is not needed?
  1 comentario
Vanshika Vaishnav
Vanshika Vaishnav el 6 de Mzo. de 2023
The ability to skip "validateDatatype" during save and load is not available in MATLAB R2022b. The only way in which you would be able to "skip" these would be not to have arguments blocks in the first place.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by