MATLAB: Underline a letter in the label of an uimenu object

gui

Hello !
Is it possible to underline a letter in the label of an uimenu object ?

Best Answer

It doesn't appear to be possible since there is no 'interpretter' option (the ability to add LaTeX).
(Though you use a 'separator' as a kind of underline) From the doc for uimenu:
f = uimenu('Label','Workspace');
uimenu(f,'Label','New Figure','Callback','figure');
uimenu(f,'Label','Save','Callback','save');
uimenu(f,'Label','Quit','Callback','exit',...
'Separator','on','Accelerator','Q')
Related Question