openfig doesn't assign fig number

I write a GUI with guide, and use the option 'save as fig file only' as pv.fig In my program (pv), I call openfig - h=openfig('pv.fig',new) openfig does not assign a number to the figure. h.Number returns [] Help! I need that number to manage things with multiple figures open.

 採用された回答

Jan
Jan 2017 年 4 月 17 日

0 投票

If the 'IntegerHandle' property of the figure is set to 'off', the figure dows not get a 'Number'. Either set 'IntegerHandle' to 'on' or use the much smarter handles instead of the old fashioned integer handles.

1 件のコメント

Bill betz
Bill betz 2017 年 4 月 17 日
Thank you Jan Simon! Had I but written earlier, I could have saved a lot of time. bill.betz@ucdenver.edu

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePrinting and Saving についてさらに検索

タグ

質問済み:

2017 年 4 月 17 日

コメント済み:

2017 年 4 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by