Can I define a specific method to run upon loading obj from mat file?
Afficher commentaires plus anciens
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?
Réponses (2)
Micke Malmström
le 17 Mai 2022
0 votes
Steven Lord
le 17 Mai 2022
0 votes
From the documentation section talking about how to customize object saving and loading, overload the loadobj method.
Catégories
En savoir plus sur Algorithm Design Basics dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!