openfig doesn't assign fig number

1 次查看(过去 30 天)
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
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 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by