- If you are saving variables of user defined class(es) the same classes have to be available when loading the .mat file - the path during load may not include where the classes are.
- If you are saving variables containing handles (either graphics or from classes using the handle superclass) special save and load procedures may be needed.
.mat file missing data after restarting Matlab
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I saved a Matlab variable as a .mat file, then reopened, giving it a new name. This new variable appeared to be complete; however, if I restart Matlab and open the same .mat file, some (but not all) of the data is missing. What could be causing this?
1 Commento
Jeffrey Clark
il 5 Ago 2022
Foreither of the above you should look at Object Save and Load and Handle Classes - MATLAB & Simulink (mathworks.com)
Risposte (0)
Vedere anche
Categorie
Scopri di più su Workspace Variables and MAT Files in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!