필터 지우기
필터 지우기

R2014b: warning message when opening .fig of previous releases

조회 수: 2 (최근 30일)
Lorenzo
Lorenzo 2014년 11월 5일
답변: Walter Roberson 2015년 12월 22일
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!

답변 (4개)

Charles
Charles 2015년 2월 25일
I'm having this issue too. Any resolution?

Lorenzo
Lorenzo 2015년 2월 26일
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 2015년 12월 21일
I having the same issues too. :(

Walter Roberson
Walter Roberson 2015년 12월 22일
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.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by