openfig doesn't assign fig number

2 vues (au cours des 30 derniers jours)
Bill betz
Bill betz le 17 Avr 2017
Commenté : Bill betz le 17 Avr 2017
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.

Réponse acceptée

Jan
Jan le 17 Avr 2017
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 commentaire
Bill betz
Bill betz le 17 Avr 2017
Thank you Jan Simon! Had I but written earlier, I could have saved a lot of time. bill.betz@ucdenver.edu

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by