Hide/Disable 'File' menu in Matlab figure window
3 ビュー (過去 30 日間)
古いコメントを表示
How to Hide/ Disable the 'FILE' menu alone from figure window?
thanks in advance!!!
Prem
0 件のコメント
採用された回答
Daniel Shub
2011 年 9 月 21 日
The simplest might be:
set(gcf, 'MenuBar', 'None')
If you need more control I would start with:
2 件のコメント
Daniel Shub
2011 年 9 月 21 日
You are correct, the set method will hide everything. I have edited my answer to provide a link.
その他の回答 (1 件)
Jim Hokanson
2020 年 5 月 1 日
Here's what I needed:
h = findall(gcf, 'Tag', 'figMenuFile')
set(h,'visible','off')
All the other menus appear to be tagged in a similar way:
- figMenuHelp
- figMenuWindow
- etc.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!