figures are not opening

90 ビュー (過去 30 日間)
Happy PhD
Happy PhD 2020 年 3 月 12 日
回答済み: Sahithi Kanumarlapudi 2020 年 3 月 17 日
Hi,
I have some figures I am saving to file from app designer. I am using code
fig1.Visible = 'off';
to make the figures invisible to the user. However when saving these images the figures won't open.
I tested with opening new figures and it works as usual.
I am thinking these figures won't open becuase they have been set to invisible?
How should approach this?
I want to have the figures available as file, I just don't want the user to have lots of figures opening up behind my app designer interface.
Many thanks,
S.

回答 (1 件)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi 2020 年 3 月 17 日
Hi,
Even after the figure is saved it will have the same properties which it had at the time of creation. That is the reason you are not able to view your saved figures.
In order to view the saved figures with visiblity set to off you could use the following function
openfig('savedfigure.fig','visible');
For more information on 'openfig' Refer to the following link
Hope this helps!

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by