closing figures with Ctrl+F4

8 views (last 30 days)
yonathan nativ
yonathan nativ on 1 Aug 2016
Answered: Jamie on 18 Nov 2019
closing a figure using Ctrl+F4 started pooping a 'save as' dialog, how do I stop this? (I started using R2016a)
  1 Comment
Jamie
Jamie on 5 Jul 2018
I have this problem also and I haven't found a solution. It is extremely annoying.

Sign in to comment.

Answers (1)

Jamie
Jamie on 18 Nov 2019
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.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!