Command Line Edit Font Preferences

I often switch to a smaller font for printing (usually monospaced 9pt) but use a larger font for visibility when coding or working in the command winder (usually monospaced 12 pt). Going back and forth with the GUI is workable, but takes time.
Do any of you know how to change the desktop font via the command prompt?
Thanks, ~J

답변 (1개)

Matt Fig
Matt Fig 2011년 3월 15일

1 개 추천

댓글 수: 1

Oleg Komarov
Oleg Komarov 2011년 3월 15일
I tried to give an answer using exactly that article...didn't manage to apply succesfully:
com.mathworks.services.Prefs.setFontPref('CommandWindow',java.awt.Font('Monospaced',java.awt.Font.PLAIN,12))

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

카테고리

도움말 센터File Exchange에서 Results, Reporting, and Test File Management에 대해 자세히 알아보기

제품

질문:

2011년 3월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by