Command for setting MATLAB font preferences

Hello,
I can change the IDE fonts using MATLAB font preferences from the Home/Preferences. However, can I change the font sitzes also with a command? I want to switch easy between big fonts (for working with a projector in a lecture room) and small fonts in my office.
Does anyone know how to do this?
Michael

 채택된 답변

Steven Lord
Steven Lord 2019년 11월 13일

0 개 추천

Depending on which release you're using, use the settings function. In particular, you can set a TemporaryValue or PersonalValue for the codefont setting as shown here.
s = settings;
s.matlab.fonts.codefont.Size.PersonalValue = 20;
s.matlab.fonts.codefont.Size.clearPersonalValue;

댓글 수: 1

Michael
Michael 2019년 11월 13일
Thank you Steven, that works well for the font of the command windows as well as for the editor.
How about changing the fonts of the Current folder or the Workspace area?
Michael

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

질문:

2019년 11월 13일

댓글:

2019년 11월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by