Why does ishandle(0) return 1?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I'm not too familiar with graphics handles. Hopefully this is a quick question.
Is it to simplify checks when setting or getting defaults, e.g. for set(0,'blah','blah')?
0 comentarios
Respuesta aceptada
Friedrich
el 10 de Ag. de 2011
Hi,
yes 0 is the handle to the default settings/properties and because of this ishandle(0) returns 1.
Más respuestas (1)
Ver también
Categorías
Más información sobre Matrix Indexing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!