Borrar filtros
Borrar filtros

Error opening .fig files

10 visualizaciones (últimos 30 días)
KB
KB el 25 de Mzo. de 2019
Comentada: Simone Rupp el 13 de Sept. de 2019
I have .fig files I cannot open, it says 'error using open (line 146) dot indexing is not supported for variables of this type. Any idea how I can access these files? It is a weeks worth of work.
  1 comentario
madhan ravi
madhan ravi el 25 de Mzo. de 2019
Show us how you are using the syntax.

Iniciar sesión para comentar.

Respuestas (2)

KALYAN ACHARJYA
KALYAN ACHARJYA el 25 de Mzo. de 2019
Have you tried this?
fig1=openfig(figure_filename); %Only figure file name, ensure that figure in current directory
  2 comentarios
KB
KB el 25 de Mzo. de 2019
Typing in the command line, in the figures diectory: fig1=openfig('Fig4C12March19'); (previously I was double clicking directly on the file) you get a better look at the error code but it does not mean much to me:
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);
Simone Rupp
Simone Rupp el 13 de Sept. de 2019
I get exactly the same error message, but I cannot figure out what it means or what I can do about it.
I have produced several figures with my code and can open all but one; also, I have run this code several times with different parameters, but don't always get this error message for the same figure. The error message thus seems quite random to me.
Does anyone have any idea what I could try to open this figure? Or do I really have to re-run the whole simulation?

Iniciar sesión para comentar.


mohammad ibrahim
mohammad ibrahim el 12 de Mayo de 2019
Hello KB
I have the same problem. My GUI was working very fine, but suddenly I have the same error (and I cannot open the .fig using GUIDE).
have you managed to solve this issue ?
thank you
MI
" 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);"

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by