matlab font 2021b

3 views (last 30 days)
Tobias Panitz
Tobias Panitz on 20 Oct 2021
Commented: Star Strider on 20 Oct 2021
Hello.
I've updated to R2021b and the monospace font in the *.m files looks completely different to previous versions and to the same font if used in live scripts.
Is there an option to get the old monospace font back in R2021b?
this = "An example of how it should look!"
% and a comment
I know it is a very minor issue, but it bugs me to no end. :-/
Thanks.

Answers (1)

Star Strider
Star Strider on 20 Oct 2021
There is likely a way to set this programmatically, however the easiest way to change the fonts is to click on Preferences, then in that window, Fonts and then Custom.
.
  2 Comments
Tobias Panitz
Tobias Panitz on 20 Oct 2021
Hm, this didn't work for me.
I selected Preferences -> Fonts -> Custom -> Editor: monospaced
But it didn't change anything and it just looks different. Different to R2020b, different to the Matlab code in a live script (in R2021b) and even between the Command window and the Editor with a *.m file.
Really annoying but a total first world problem.
Thanks for your help anyway.
Star Strider
Star Strider on 20 Oct 2021
My pleasure!
That was my best guess at a solution.
It might be appropriate to Contact Support to see if there are any alternatives. I could have overlooked something since I do this only once with each new installation. In any event, it that is not an option, suggest that it becomes one in any follow-up communications with MathWorks on that topic.
.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!