Import and show in live editor .fig file

2 ビュー (過去 30 日間)
holyoli
holyoli 2018 年 12 月 4 日
コメント済み: holyoli 2018 年 12 月 6 日
Is it possible to import an existing matlab figure to the live editor?
For other formats I know I can use something like:
corn_gray = imread('corn.tif',3);
imshow(corn_gray)
  2 件のコメント
Walter Roberson
Walter Roberson 2018 年 12 月 5 日
Only if the fig is storing a uifigure instead of a traditional figure I suspect . Even then parts of the fig would have to be imported rather than the whole fig
holyoli
holyoli 2018 年 12 月 6 日
In my case it is just multiple plots. I had suspected that if it was possible, it would be quicker to load the figure than to run the creation code again (as it requires that multiple files are opened to gather the values). In this case, according to your comment, it would not be possible.
Either way, how would you do it if it was a uifigure?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by