Retaining handlers when loading .fig file
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Petter
le 9 Déc 2013
Réponse apportée : Vishal Rane
le 9 Déc 2013
I save my figures as .fig, and the handlers as .mat.
When I load the .fig and .mat files, the handlers does not work. The plot that was in figure(165) does now appear in figure(1).
The .fig file contains the needed information (rename it to .mat and load it, and you will see handlers and pointers in it).
Edit: I'm currently running Matlab R2011b (7.13.0.564) and R2012b (8.0.0.783).
0 commentaires
Réponse acceptée
Vishal Rane
le 9 Déc 2013
Handles are created at runtime, hence they will differ from session to session. Use tags or names to keep your data session independent.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!