Why does ishandle(0) return 1?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Friedrich
am 10 Aug. 2011
Hi,
yes 0 is the handle to the default settings/properties and because of this ishandle(0) returns 1.
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Matrix Indexing 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!