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?

回答 (1 件)

Jemima Pulipati
Jemima Pulipati 2020 年 10 月 20 日

0 投票

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 件のコメント

Rosemary Renaut
Rosemary Renaut 2020 年 10 月 20 日
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
Jemima Pulipati
Jemima Pulipati 2020 年 10 月 21 日
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.
Rosemary Renaut
Rosemary Renaut 2020 年 10 月 21 日
Not using any CTRL commands.
Jemima Pulipati
Jemima Pulipati 2020 年 10 月 21 日
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.
Rosemary Renaut
Rosemary Renaut 2020 年 10 月 22 日
I tried to regenerate and now it is ok. I suppose that rebooting and restarting matlab did something.
So I guess close the case.

この質問は閉じられています。

タグ

質問済み:

2020 年 10 月 14 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by