Clear Filters
Clear Filters

Editor font size is smaller than command window font size

42 views (last 30 days)
Hi,
My editor font size and command window font size has always been the same, yet today while I was using Matlab, it suddenly flashed and the editor font size just shrinked. I have tried resetting the font size, uninstalling and reinstalling the application but nothing fix it. It is not a functional issue, but an aesthetic issue.
You can clearly see that the editor font size is much smaller than the command window.
  3 Comments
Hal Caswell
Hal Caswell on 18 Feb 2024
I have the same problem (R2023b Update 1 on a Mac running Ventura 13.66.3).
Command +/- has no effect on either the command window or the editor window.
If I change font size in preferences for the Desktop Code Font ("used by Command Window, Command History, Editor") the change applies to the command window, but has no effect on the editor window.
The editor font is now uncomofortably small.
Man Shiu Kwok
Man Shiu Kwok on 14 Mar 2024
The control -+ did not work immediately, but instead I went to the View tab and under there, I was able to reset the zoom. The reset zoom option is greyed at first (even my editor is obviously zoomed out), but when I pressed "zoom in/ zoom out" first, it will then give me the option to reset zoom.

Sign in to comment.

Answers (2)

Animesh
Animesh on 19 Feb 2024
I understand that you want to increase the editor font size.
To do so, try using control+scrollUp in code editor. It is one of the ways to change the font size.
You can refer the following Mathworks documentation to explore more ways to change the font size: https://www.mathworks.com/help/matlab/matlab_env/change-fonts.html
Hope this helps!
  1 Comment
Man Shiu Kwok
Man Shiu Kwok on 14 Mar 2024
The control -+ did not work immediately, but instead I went to the View tab and under there, I was able to reset the zoom. The reset zoom option is greyed at first (even my editor is obviously zoomed out), but when I pressed "zoom in/ zoom out" first, it will then give me the option to reset zoom. Thank you!

Sign in to comment.


Ilya Toytman
Ilya Toytman on 4 May 2024
I just installed Matlab 2023b myself and found the same problem - Editor font is too small, but Command history and Command window fonts are too large. The way I fixed it was to go to Home --> Preferences, and in there go to Fonts --> Custom and there one can pick fonts for each window individually. Hope this helps

Categories

Find more on Desktop in Help Center and File Exchange

Tags

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!