Change message box font

조회 수: 13 (최근 30일)
Thomas
Thomas 2014년 11월 12일
댓글: Adam Danz 2020년 10월 29일
I really dont like the aliased font of msgbox (also dlgbox, etc..) in 2014b. Is it possible to revert it to the old font? How?

답변 (1개)

Adam Danz
Adam Danz 2018년 8월 10일
Here's how to change the font in a msgbox()
mh = msgbox('Hello world', 'Example'); % Create msgbox()
th = findall(mh, 'Type', 'Text'); % Get handle to txt
set(th, 'FontName', 'Courier'); % Change fontsize; or: th.FontName = 'Courier';
  댓글 수: 2
THULYO NEDER
THULYO NEDER 2020년 10월 29일
Is it possible change the font size of the title as well? I tried to apply the same idea of the script above for the title, but did not work. Any other sugestion?
Adam Danz
Adam Danz 2020년 10월 29일
Not that I'm aware of.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by