Can I define a specific method to run upon loading obj from mat file?
Mostrar comentarios más antiguos
I have a class with a constructor which works fine. When loading the obj from a mat file however I would like another method to run instead of the constructor. Is that possible to define?
Respuestas (2)
Micke Malmström
el 17 de Mayo de 2022
0 votos
Steven Lord
el 17 de Mayo de 2022
0 votos
From the documentation section talking about how to customize object saving and loading, overload the loadobj method.
Categorías
Más información sobre Create System Objects en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!