Can I define a specific method to run upon loading obj from mat file?
이전 댓글 표시
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?
답변 (2개)
Steven Lord
2022년 5월 17일
0 개 추천
From the documentation section talking about how to customize object saving and loading, overload the loadobj method.
카테고리
도움말 센터 및 File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!