closing a specified figure (if exist)
12 ビュー (過去 30 日間)
古いコメントを表示
does anyone know how to close a specified figure if it exists currently? for example: h=figure
if h exists close(h) end
0 件のコメント
採用された回答
その他の回答 (2 件)
Zoltan Gal
2019 年 4 月 13 日
If the index of figure is 5, then
close(findobj('type','figure','number',5))
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!