MATLAB: Hide/Disable ‘File’ menu in Matlab figure window

hide/disable 'file' menuMATLAB

How to Hide/ Disable the 'FILE' menu alone from figure window?
thanks in advance!!!
Prem

Best Answer

The simplest might be:
set(gcf, 'MenuBar', 'None')
If you need more control I would start with: