Issues using Table function and changing the fonts in my editor window :2020a

My fonts in my editor window are set to a large, say 24, for teaching.
In a live script I used a T=table(). The table command worked fine. BUT the fonts in my editor window were put back to Matlab defaults.
If I use an m file rather than a script, there is no impact.
But after using table in the live script (mlx), I need to exit Matlab in order to even change the settings back.
Any clues?

Answers (1)

From my understanding, you have changed the font size in the Preferences but it is not getting reflected in the live script.
Currently, the Live Editor does not support the 'Font Preferences'. Our developers are aware of this issue and it might be considered in any future release.
As a workaround, you can use 'ctrl+' or 'ctrl-' to zoom in or zoom out.

5 Comments

No not exactly. The fonts in the live script were quite fine and large.
Then I added the table command within the live script.
Then the fonts decreased in size in the live script
I hope the developers sort this out, because it is very helpful for Zoom teaching to have the fonts set large and not changing during the class period
I tried to reproduce the issue you have mentioned. But I do not see any change in font size in the live script after adding the table command. There is already an existing issue that the live script does not obey any font preferences.
Can you check if you are using anything like CTRL+'+' and CTRL+'-' or CTRL+MouseScrollWheel which can make the font look large or small.
Can you provide any sample code (which includes the table command) that you have used and the steps that you have followed so that I can try to reproduce the issue you mentioned at my end.
I tried to regenerate and now it is ok. I suppose that rebooting and restarting matlab did something.
So I guess close the case.

This question is closed.

Asked:

on 14 Oct 2020

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!