Editor font size is smaller than command window font size

82 次查看(过去 30 天)
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 个评论
Hal Caswell
Hal Caswell 2024-2-18
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 2024-3-14
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.

请先登录,再进行评论。

回答(2 个)

Animesh
Animesh 2024-2-19
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 个评论
Man Shiu Kwok
Man Shiu Kwok 2024-3-14
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!

请先登录,再进行评论。


Ilya Toytman
Ilya Toytman 2024-5-4
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

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by