Loading user-defined classes from .mat files absent the classdef
이전 댓글 표시
At one time, if I had a .mat file with a user-defined class variable, but lacked the classdef file, loading the .mat file would succeed, but convert the class property data to struct form. Now, in more recent Matlab, it fails to do that. Is there a supported way to load a user-defined object in a stripped down form, like a struct, when the class definition is absent?
댓글 수: 1
Walter Roberson
2025년 1월 8일
I wonder if that struct behaviour was in the days of the older class definition, where classes were specially-blessed struct ?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Properties에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!