closing figures with Ctrl+F4

closing a figure using Ctrl+F4 started pooping a 'save as' dialog, how do I stop this? (I started using R2016a)

1 个评论

I have this problem also and I haven't found a solution. It is extremely annoying.

请先登录,再进行评论。

回答(1 个)

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.

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

回答:

2019-11-18

Community Treasure Hunt

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

Start Hunting!

Translated by