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

64 ビュー (過去 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 日 5:21

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 日 8:09
編集済み: Berke 2025 年 1 月 22 日 8:13
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 日 22:26
This is a known issues with the beta version. Development is aware, but there is currently no fix for this in R2024b.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by