Font of output in livecript

2 次查看(过去 30 天)
Andhy
Andhy 2023-11-10
回答: Shreshth 2023-11-29
I installed a font on my computer and tried to change the editor font using the same font I installed, but I didn't like it and deleted it. But I have the problem that I can't change the matlab output font in the livescript.
I was able to return to the original font of the code, but I was unable to change the output font in the livescript. I show a screenshot.
  3 个评论
Dyuman Joshi
Dyuman Joshi 2023-11-11
Walter, I think that is for the properties for Editor, not LiveEditor.
Also, I don't think the font of the output (from disp() or fprintf()) can be changed in LiveScript. Though it might be linked to the system font.
Andhy
Andhy 2023-11-11
I think that. It's from the system font

请先登录,再进行评论。

回答(1 个)

Shreshth
Shreshth 2023-11-29
Hello Andhy,
I understand that you want to know if the font of the output can be changed in the live script in MATLAB.
As per the release of R2021a, you can change the font settings programmatically but changing the font name and style is not supported in Live Editor. You can change the font size using Ctrl + Plus (+) and Ctrl + Minus (-) keyboard shortcuts.
Here is the link to the Mathworks documentation page which will help you understand the possible font customizations for MATLAB live scripts
Thank you,
Shubham Shreshth.

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by