If you reset the UI figure WindowStyle property to 'normal', the menus display.
![matlab figure matlab figure](https://www.mathworks.com/help/examples/graphics/win64/CreateLineWithMarkersAtSpecificDataPointsExample_01.png)
If you set the IntegerHandle property to 'off', MATLAB does not assign an integer value to the figure, and it sets the Number property to an empty array. The Menu objects exist and the figure retains them. If you delete a figure, MATLAB can reuse its number on a new figure. But, it is not an error to create menus in a modal figure or to change the WindowStyle property setting to 'modal' on a figure with menu children. Modal figures do not display menu children, built-in menus, or toolbars. Therefore, you can hide a modal window for later reuse, instead of destroying it. UI figures with the WindowStyle property set to 'modal' and the Visible property set to 'off' do not behave modally until MATLAB makes them visible. This allows the user to type at the command line. 16.3k 7 7 gold badges 36 36 silver badges 71 71 bronze badges. Typing Ctrl+C when a modal figure has focus causes that figure to revert to a 'normal' WindowStyle property setting.
![matlab figure matlab figure](https://i.stack.imgur.com/fq2Szm.jpg)
#Matlab figure windows
Interactions with application windows other than MATLAB are also not blocked. Pode-se salvar figuras geradas no MATLAB em quatro formatos de modo que possam ser exportadas para outros programas baseados em Windows: print-dbitmap nome-do arquivo formato Windows Bitmaps (.bmp) print-dmeta nome-do-arquivo formato Windows Metafile (.wmf) print-dhpgl nome-do-arquivo formato HP Graphic Language (. Unlike modal figures created with the figure function, modal figures created with the uifigure function do not block access to figures created with the figure function or the MATLAB desktop. Actually, it is better to use handles than gcf as gcf uses the last figure that was addressed, example. You can change where each is placed and the dimensions. Fig3.WindowStyle = 'modal' The modality hierarchy is not preserved if there is a combination of modal and normal figures in the hierarchy of figures. set (gcf,Position, 100 100 500 500) That will have the two figures with exactly the same size, and in the same position. f figure Get the location, width, and height of the figure.