how to set matlab command window fonts in -nodesktop -nosplash -nojvm mode?

조회 수: 22 (최근 30일)
Caishu
Caishu 2025년 3월 9일
댓글: Walter Roberson 2025년 3월 22일
it looks too small in whole screen, any suggestions?

답변 (2개)

Epsilon
Epsilon 2025년 3월 11일
편집: Epsilon 2025년 3월 11일
Hi Caishu,
When running MATLAB in -nodesktop -nosplash -nojvm mode, only the MATLAB command window is displayed.
To change the font size in the MATLAB command window use Ctrl+Mouse Scroll for windows, while on macOS systems, use Command+Mouse Scroll.
  댓글 수: 1
Caishu
Caishu 2025년 3월 22일
sorry for the delayed reply, I tried to follow your suggestions, but it didn't work. no matter it. thanks for your reply

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


Walter Roberson
Walter Roberson 2025년 3월 11일
When running MATLAB in -nodesktop -nosplash -nojvm mode, no graphics command input window or output window is created. Instead, the window used is plain text, using the same font as the window that was used to invoke MATLAB.
In MacOS, to adjust the font, you would already be within Terminal, so use Terminal -> Settings -> Profiles -> Text, and adjust the Font setting.
  댓글 수: 2
Caishu
Caishu 2025년 3월 22일
thanks for your reply, I use 2019b in Windows. I can only set fonts in desktop mode, it doesn't work when outside desktop
Walter Roberson
Walter Roberson 2025년 3월 22일
If you go to the Properties of cmd.exe then there is a fonts tab to allow you to set the font.
However, there does not appear to be much choice at all.
The process is similar if you are using Powershell instead of cmd.exe https://stackoverflow.com/questions/42039488/how-to-change-font-on-powershell

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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by