Borrar filtros
Borrar filtros

openfig doesn't assign fig number

2 visualizaciones (últimos 30 días)
Bill betz
Bill betz el 17 de Abr. de 2017
Comentada: Bill betz el 17 de Abr. de 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.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by