Hide/Disable 'File' menu in Matlab figure window

22 views (last 30 days)
How to Hide/ Disable the 'FILE' menu alone from figure window?
thanks in advance!!!

Accepted Answer

Daniel Shub
Daniel Shub on 21 Sep 2011
The simplest might be:
set(gcf, 'MenuBar', 'None')
If you need more control I would start with:
Daniel Shub
Daniel Shub on 21 Sep 2011
You are correct, the set method will hide everything. I have edited my answer to provide a link.

Sign in to comment.

More Answers (1)

Jim Hokanson
Jim Hokanson on 1 May 2020
Here's what I needed:
h = findall(gcf, 'Tag', 'figMenuFile')
All the other menus appear to be tagged in a similar way:
  • figMenuHelp
  • figMenuWindow
  • etc.


Find more on Environment and Settings in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!