Why does ishandle(0) return 1?
5 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Friedrich
2011 年 8 月 10 日
Hi,
yes 0 is the handle to the default settings/properties and because of this ishandle(0) returns 1.
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!