Can I define a specific method to run upon loading obj from mat file?
Ältere Kommentare anzeigen
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?
Antworten (2)
Micke Malmström
am 17 Mai 2022
0 Stimmen
Steven Lord
am 17 Mai 2022
0 Stimmen
From the documentation section talking about how to customize object saving and loading, overload the loadobj method.
Kategorien
Mehr zu Workspace Variables and MAT Files finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!