cant open .fig anymore
Afficher commentaires plus anciens
My GUI ".fig" was working very fine, but suddenly I have an error and I cannot open the .fig using GUIDE anymore.
can anybody help me solve this please ?
" here is the Error message"==========
Dot indexing is not supported for variables of this type.
Error in matlab.graphics.internal.figfile.FigFile/read (line 59)
result = hgDataVars.(vars_hgM{1}).GraphicsObjects.Format3Data;
Error in matlab.graphics.internal.figfile.FigFile
Error in loadFigure (line 31)
FF = matlab.graphics.internal.figfile.FigFile(fullpath);
Error in openfig>localOpenFigure (line 69)
h = loadFigure(filename, visibleAction);
Error in openfig (line 40)
figOut = localOpenFigure(filename, reuse, visibleAction);"
thank you
MI
3 commentaires
Walter Roberson
le 31 Mar 2021
It looks to me as if your .fig file no longer holds a graphics structure. It might be corrupted, and you might have to restore it.
mohammad ibrahim
le 31 Mar 2021
mohammad ibrahim
le 31 Mar 2021
Réponse acceptée
Plus de réponses (1)
cr
le 29 Mar 2021
0 votes
Try clearing your workspace and then launching the GUI. Looks like you have a variable with the same name as the GUI.
1 commentaire
mohammad ibrahim
le 29 Mar 2021
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!