Why does ishandle(0) return 1?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Friedrich
le 10 Août 2011
Hi,
yes 0 is the handle to the default settings/properties and because of this ishandle(0) returns 1.
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Matrix Indexing 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!