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

22 vues (au cours des 30 derniers jours)
Caishu
Caishu le 9 Mar 2025
Commenté : Walter Roberson le 22 Mar 2025
it looks too small in whole screen, any suggestions?

Réponses (2)

Epsilon
Epsilon le 11 Mar 2025
Modifié(e) : Epsilon le 11 Mar 2025
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 commentaire
Caishu
Caishu le 22 Mar 2025
sorry for the delayed reply, I tried to follow your suggestions, but it didn't work. no matter it. thanks for your reply

Connectez-vous pour commenter.


Walter Roberson
Walter Roberson le 11 Mar 2025
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 commentaires
Caishu
Caishu le 22 Mar 2025
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 le 22 Mar 2025
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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by