closing figures with Ctrl+F4

8 次查看(过去 30 天)
yonathan nativ
yonathan nativ 2016-8-1
回答: Jamie 2019-11-18
closing a figure using Ctrl+F4 started pooping a 'save as' dialog, how do I stop this? (I started using R2016a)
  1 个评论
Jamie
Jamie 2018-7-5
I have this problem also and I haven't found a solution. It is extremely annoying.

请先登录,再进行评论。

回答(1 个)

Jamie
Jamie 2019-11-18
I am also having this problem. Yes, it is extremely annoying.
In R2019a it appears to be somehow connected to the menu bar, and if I disable the menu bar, it suppresses the behavior.
This exhibits the problem:
f = figure;
imshow(ones(100));
(press Ctrl-F4)
This does not exhibit the problem:
f = figure('MenuBar', 'none');
imshow(ones(100));
(press Ctrl-F4)
Most of the time I can live without the menu bar, so this is an acceptable workaround.

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by