Restore old editor in R2021b?

153 views (last 30 days)
Jack Walsh
Jack Walsh on 24 Sep 2021
Commented: Star Strider on 29 Nov 2021 at 16:10
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 at 16:10
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 (2)

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
  1 Comment
Star Strider
Star Strider on 24 Sep 2021
I’ve not encountered the software version of those. I’ll search through the other options so I can have a backup in case future preferences also don’t get imported.

Sign in to comment.

Star Strider
Star Strider on 24 Sep 2021
Set the fonts by clicking on Preferences in the ENVIRONMENT section of the MATLAB toolbar (at the top of the window in the HOME tab). Then highlight Fonts and under it Custom to change different settings.
The new installation did not import any of my old preferences, so I had to reset all of them. Fortunately. I had many of these saved as text commands, so just running those restored most of them. The others I had to set manually.
The download and installation were much faster than previous versions (a few minutes rather than about an hour).
Star Strider
Star Strider on 24 Sep 2021
My pleasure!
I have no idea. I installed R2021b a few hours ago, and haven’t had time to experiment with it (beyond restoring some of my old preferences manually). It seems a lot like the previous version, other than some cosmetic tweaks. The feature that used to launch a small version of the Help browser isn’t as useful as previously, however everything else seems to be present, although changed to some extent.

Sign in to comment.





Community Treasure Hunt

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

Start Hunting!

Translated by