uigetfont — Opens a dialog for selecting a font.
uigetfont() [fontname [,fontsize [,bold [,italic]]]] = uigetfont([defaultfontname [,defaultfontsize [,defaultbold [,defaultitalic]]]]); [fontname ,fontsize ,bold ,italic] = uigetfont(defaultfontname ,defaultfontsize ,defaultbold ,defaultitalic);
String: the default font name to select in the dialog.
Scalar: the default font size to select in the dialog.
Boolean: the default bold attribute in the dialog (%T for bold font, %F otherwise).
Boolean: the default italic attribute in the dialog (%T for bold font, %F otherwise).
The selected font name ("" if the user cancels).
The selected font size ([] if the user cancels).
%T if bold attribute has been selected, %F otherwise ([] if the user cancels).
%T if italic attribute has been selected, %F otherwise ([] if the user cancels).