Figures saved with MATLAB New Desktop cannot be opened in MATLAB Online or on the local computer with MATLAB Old Desktop

조회 수: 5 (최근 30일)
Hello,
I have some figures that I saved in MATLAB R2024b with New Desktop on my work computer. When I try to open the figure on my home computer using MATLAB R2024b with Old Desktop, it freezes at FigureController.m at the sendACT function. The exact same thing happens with MATLAB Online too. It freezes at the exact same point. However, if I switch to New Desktop on my local computer, I can see the figures again. The figures are not big at all, they are 100kB maximum.
Is there a solution to this?
  댓글 수: 2
Rik
Rik 2025년 1월 22일

Posting an example should help pinpoint the issue. Can you post code that produces a fig file with this problem?

Berke
Berke 2025년 1월 22일
편집: Berke 2025년 1월 22일
Any figure seems to cause this problem. For example I switched to the New Desktop version 24.2.0 and ran the following code:
x = -5:0.1:5;
y = sin(x);
figure;
plot(x, y);
savefig("sine.fig");
After switching back to the Old Desktop, I can't open 'sine.fig' anymore. Same thing also happens in MATLAB Online. Possibly a backwards compatibility issue.
A workaround I found is opening the figure with openfig("sine.fig", 'invisible') in invisible mode, reading the data and plotting the figure again.

댓글을 달려면 로그인하십시오.

채택된 답변

Cris LaPierre
Cris LaPierre 2025년 1월 22일
This is a known issues with the beta version. Development is aware, but there is currently no fix for this in R2024b.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by