Hide/Disable 'File' menu in Matlab figure window
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How to Hide/ Disable the 'FILE' menu alone from figure window?
thanks in advance!!!
Prem
0 Commenti
Risposta accettata
Daniel Shub
il 21 Set 2011
The simplest might be:
set(gcf, 'MenuBar', 'None')
If you need more control I would start with:
2 Commenti
Daniel Shub
il 21 Set 2011
You are correct, the set method will hide everything. I have edited my answer to provide a link.
Più risposte (1)
Jim Hokanson
il 1 Mag 2020
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 Commenti
Vedere anche
Categorie
Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!