フィルターのクリア

How to Bound Each Output Figure

2 ビュー (過去 30 日間)
Murat Kocaman
Murat Kocaman 2018 年 10 月 4 日
コメント済み: Murat Kocaman 2018 年 11 月 23 日
Hello,
Does anyone know if it is possible to close all output figures while closing any of them once?
At the moment I am using this:
set(h2, 'HandleVisibility', 'off');
uiwait(msgbox('Click OK to close all '));
close all;
set(h2, 'HandleVisibility', 'on');
This works as automatically asking to close all dialogs. I need it without dialog box and with normal clicking on X at the upper left of a figure.
  3 件のコメント
Stephen23
Stephen23 2018 年 10 月 4 日
編集済み: Stephen23 2018 年 10 月 4 日
I agree with Adam: this sounds like the GUI equivalent of putting clear, clc, and close at the top of every script. Rather than indiscriminately closing everything, keeping track of the figures in the first place would be a much better idea: this is exactly what graphics handles are for!
Murat Kocaman
Murat Kocaman 2018 年 11 月 23 日
Thank you I am trying this.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeJust for fun についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by