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

24 ビュー (過去 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 Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by