How to programmatically adjust the font size of the editor and command window?
조회 수: 17 (최근 30일)
이전 댓글 표시
Hi all,
I am using a lot Matlab both with the small screen of my laptop and with my large 34" external screen. Is there a way to programmatically set the font size of the command window and of the editor on the basis of the desktop resolution?
Thanks.
Best regards,
Michele
댓글 수: 0
채택된 답변
Athul Prakash
2020년 1월 27일
Hi Michele,
You may use MATLAB's settings object to set and modify MATLAB preferences on the fly. Have a look at the doc linked below to get the hang of it.
I think you might be looking for the 'matlab.fonts.codefont.Size' setting.
Hope it helps!
댓글 수: 2
Juan Miguel Serrano Rodríguez
2021년 9월 22일
s=settings; s.matlab.fonts.codefont.Size.PersonalValue = 8;
This is the setting I am using
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!