Restore old editor in R2021b?

91 views (last 30 days)
Jack Walsh
Jack Walsh on 24 Sep 2021
Commented: William Jacobs on 9 Dec 2021
R2021b has a new editor compared to R2021a. Is there any way to revert to the previous editor? The new version is much more graphically intensive and feels sluggish compared to the simple text editor in the previous version. Also, it renders the Monospaced font differently than the previous version, resulting in the editor font looking completely different to the command window font, which hasn't changed, despite them both using Monospaced.
For comparison, the editor from R2021a:
and the editor from R2021b:
If there is no way to revert the look of the editor, is there at least a way to have it use the same Monospaced font as the command window?
Star Strider
Star Strider on 29 Nov 2021
I never heard of Fira Code before, so I did a search for it. There’s a MATLAB for Windows Instructions page linked to it, however nothing for Mac although Mac OS versions apparently support it.
Likely the best option is to Contact Support including the URL of this thread in the message to them so that it is not necessary to repeat everything here. This could be a bug in R2021b that needs to be fixed, and MathWorks may not be aware of it.
(I like Fira Code, however it has a number of options — specifically the ligatures — that I likely wouldn’t use, so just I’ll keep using Consolas.)

Sign in to comment.

Answers (1)

Sean de Wolski
Sean de Wolski on 24 Sep 2021
I changed these settings and it greatly improved the font for me:
s = settings;
s.matlab.fonts.custom.editor.FontToUse.PersonalValue = "CustomFont";
s.matlab.fonts.custom.editor.Name.PersonalValue = "Courier New";
s.matlab.fonts.custom.editor.Size.PersonalValue = 12; % in point
William Jacobs
William Jacobs on 9 Dec 2021
This leads to a significantly improved font (in my opinion).

Sign in to comment.





Community Treasure Hunt

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

Start Hunting!