R2014b: warning message when opening .fig of previous releases

2 visualizaciones (últimos 30 días)
Lorenzo
Lorenzo el 5 de Nov. de 2014
Respondida: Walter Roberson el 22 de Dic. de 2015
Hi,
with R2014b I have a problem in opening .fig figure files created and saved in previous releases of Matlab.
I have several Matlab releases installed on my PC. If I try to open a simple figure (axis and legend for example) saved within R2014a, for example, I get the following warning:
Warning: Could not find appropriate function on path loading function handle C:\Program Files\MATLAB\R2014a\toolbox\matlab\scribe\@scribe\@legend\methods.m>ploteditbup
> In FigFile.read at 38
In C:\Program Files\MATLAB\R2014b\toolbox\matlab\graphics\+matlab\+graphics\+internal\+figfile\@FigFile\FigFile.p>FigFile.FigFile at 104
In C:\Program Files\MATLAB\R2014b\toolbox\matlab\graphics\private\loadFigure.p>loadFigure at 31
In openfig>localOpenFigure at 67
In openfig at 47
In open at 158
In uiopen at 167
The figures then opens correctly. The same thing happens with figures saved in R2013b and so on... it seems to search to opend the fig by referring to a function in the path of the "original" version without finding it (I suppose due to the new HG2!).
Do you have an idea how to solve this issue? Could you please try to open the attached Test.fig to check if you get the same worning in R2014b?
thank you!

Respuestas (4)

Charles
Charles el 25 de Feb. de 2015
I'm having this issue too. Any resolution?

Lorenzo
Lorenzo el 26 de Feb. de 2015
No, I didn't find any solution. For now I'm still using the R2014a as a lot of my collegues are using previous Matlab releases to generate and send me figures!
Let's hope that in the R2015b this issue will be solved!

SMY
SMY el 21 de Dic. de 2015
I having the same issues too. :(

Walter Roberson
Walter Roberson el 22 de Dic. de 2015
When you create a legend() in R2014a and earlier, callbacks are defined for parts of the legend. In particular, a callback is defined for Button Up on the text that is created for the legends. The associated callback is to trigger plot edit mode, to allow you to edit the text of the legends.
The implementation of legends is very different in R2014b and later, and it appears that they did not retain all of the old files for backwards compatibility.
I do not know whether Mathworks implemented any kind of migration strategy for .fig and forgot this, or if it is a more general problem. At the very least double click on the text of a legend can be expected to fail.
Short term user solution: ignore the problem
Longer term user solution: remake the figure in R2014b or later.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by