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

Answers (2)

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 Comment

sorry for the delayed reply, I tried to follow your suggestions, but it didn't work. no matter it. thanks for your reply

Sign in to comment.

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 Comments

thanks for your reply, I use 2019b in Windows. I can only set fonts in desktop mode, it doesn't work when outside desktop
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

Sign in to comment.

Categories

Asked:

on 9 Mar 2025

Commented:

on 22 Mar 2025

Community Treasure Hunt

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

Start Hunting!