Filter löschen
Filter löschen

Editor font size is smaller than command window font size

42 Ansichten (letzte 30 Tage)
Man Shiu Kwok
Man Shiu Kwok am 10 Feb. 2024
Beantwortet: Ilya Toytman am 4 Mai 2024
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 Kommentare
Hal Caswell
Hal Caswell am 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 am 14 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Animesh
Animesh am 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 Kommentar
Man Shiu Kwok
Man Shiu Kwok am 14 Mär. 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!

Melden Sie sich an, um zu kommentieren.


Ilya Toytman
Ilya Toytman am 4 Mai 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

Kategorien

Mehr zu Desktop finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by