Loading user-defined classes from .mat files absent the classdef
Mostra commenti meno recenti
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 Commento
Walter Roberson
il 8 Gen 2025
I wonder if that struct behaviour was in the days of the older class definition, where classes were specially-blessed struct ?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Properties in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!