How to change the output font of the live script

I tried to output some non-English characters in the live script, such as using disp, but unfortunately I found that none of the possible settings of matlab.fonts could prevent it from using the default font.

2 Comments

In LiveScript on a MacBook Pro M1 Max in R2026a, I did
disp('你好,世界');
and the output was
你好,世界
Are you observing something different?
Shino
Shino on 3 May 2026
Edited: Shino on 3 May 2026
@Walter Roberson Your situation is not representative. For example, in Windows, the default font for Chinese characters in common executable programs is SimSun. Its readability is extremely poor on modern computer devices.

Sign in to comment.

Answers (1)

The <current doc> says the Live Editor text font can be change through the Text section of the Live Editor tab. If this doesn't work, submit to Mathworks as an official support request/bug at <Product Support Page>. You may want to look for your local support rep.

2 Comments

These settings don't appear to apply to code output.
That's right, output is part of the code cell, so it's not controlled by the text cell. MathWorks has clearly ignored its support for other character sets.

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Release

R2026a

Asked:

on 1 May 2026

Edited:

on 3 May 2026

Community Treasure Hunt

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

Start Hunting!