Font of output in livecript

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 Comments

I am not sure, but I think Livescript is controlled by Preferences -> MATLAB -> Appearance -> Fonts -> Desktop Code Fonts -- along with Preferences -> MATLAB -> Appearance -> Fonts -> Custom -> Editor
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.
I think that. It's from the system font

Sign in to comment.

Answers (1)

Shreshth
Shreshth on 29 Nov 2023
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.

Categories

Products

Release

R2022b

Asked:

on 10 Nov 2023

Answered:

on 29 Nov 2023

Community Treasure Hunt

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

Start Hunting!