Can't activate/change the Matlab editor fonts

3 ビュー (過去 30 日間)
Jack Daniels
Jack Daniels 2025 年 1 月 16 日
コメント済み: Jack Daniels 2025 年 1 月 16 日
I'd need to change the Matlab editor fonts,
but I can't see the Fonts installed in my WinOS - in my case I'd like to use Fira Code monospaced font which I have installed in my WinOS system?
How to change the Editor font?

回答 (1 件)

prabhat kumar sharma
prabhat kumar sharma 2025 年 1 月 16 日
Hello Jack,
I understand that you want to change the font for matlab live editor.
Please follow the below instrucitons.
Specify the code and text font size for the current document using the Customize Styles dialog box.
Go to the Live Editor tab, and in the Text section, click the Customize styles button .
For more information, see Format Text in the Live Editor.
To specify the code and text font size for all open documents and all new documents, use the matlab.fonts Settings. For example, this code changes the code font size in the Live Editor.
s = settings;
s.matlab.fonts.editor.code.Size.TemporaryValue = '26pt'
or you can follow this documentation for reference: https://www.mathworks.com/help/matlab/matlab_env/change-fonts.html
I hope it helps!
  1 件のコメント
Jack Daniels
Jack Daniels 2025 年 1 月 16 日
The fonts for Desktop Tools -> Editor are limited and even if the fonts are available in Windows System font but Matlab does not allow them to use ...

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

タグ

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by