Hi everyone.
Is there any way that I can boldface the writings in a dialog box?
Thanks in advance.

 채택된 답변

Tommy
Tommy 2020년 5월 28일

2 개 추천

You can tell msgbox, inputdlg, warndlg, errordlg, and questdlg (and maybe others?) to use a tex interpreter. They all default to no interpreter, I believe. Here is an example for msgbox:
CreateStruct.Interpreter = 'tex';
CreateStruct.WindowStyle = 'non-modal'; % you need to supply this field too. default is non-modal
msgbox('\bf This is bold', CreateStruct);

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 App Building에 대해 자세히 알아보기

태그

질문:

2020년 5월 28일

답변:

2020년 5월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by