openfig doesn't assign fig number
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Bill betz
am 17 Apr. 2017
Kommentiert: Bill betz
am 17 Apr. 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.
0 Kommentare
Akzeptierte Antwort
Jan
am 17 Apr. 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!