Hide/Disable 'File' menu in Matlab figure window
조회 수: 22(최근 30일)
표시 이전 댓글
premraj 2011년 9월 21일
답변: Jim Hokanson 2020년 5월 1일
How to Hide/ Disable the 'FILE' menu alone from figure window?
thanks in advance!!!
The simplest might be:
set(gcf, 'MenuBar', 'None')
If you need more control I would start with:
댓글 수: 2
You are correct, the set method will hide everything. I have edited my answer to provide a link.
Jim Hokanson 2020년 5월 1일
Here's what I needed:
h = findall(gcf, 'Tag', 'figMenuFile')
All the other menus appear to be tagged in a similar way:
Find more on Simulink Environment Customization 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!