- To change the code font in the Editor, Command Window, and Command History, go to the Home tab, and in the Environment section, click Settings. Then, select MATLAB > Appearance > Fonts and, in the Desktop code font section, select a font name, style, and size.
- To change the code font in the Live Editor, go to the Live Editor tab, and in the Text section, click the text style drop-down menu and select Customize styles.
How to deal with HiDPI monitors in matlabr2025b for Ubuntu?
24 views (last 30 days)
Show older comments
Alessandro
on 3 Nov 2025 at 16:11
Commented: Alessandro
about 6 hours ago
Good afternoon,
I am encountering a persistent HiDPI scaling issue with MATLAB R2025b running on Kubuntu 24.04 (Linux) on a high-resolution monitor. The interface (fonts, icons) appears severely undersized and "grainy," making the software difficult to use.
I am familiar with the standard fix for previous versions (R2023b, etc.), which involved setting the UI scaling preferences via the settings class in the Command Window, such as:
s = settings;
s.matlab.desktop.Display.UIScalingMode.TemporaryValue = 'manual';
s.matlab.desktop.Display.UIScalingFactor.TemporaryValue = 2.0;
for release r2025a
>> s = settings;
>> s.matlab.desktop.Zoom.PersonalValue=150
The Problem with R2025b
With the R2025b release, it appears the internal path structure (the "tree") of the Settings class has changed, and the properties like s.matlab.desktop no longer accessible. This issue is similar to previous scaling problems, as discussed here for older releases: (e.g., in the thread referenced here: https://it.mathworks.com/matlabcentral/answers/1824648-matlab-hidpi-setting-ignored-on-linux-ubuntu and https://it.mathworks.com/matlabcentral/answers/406956-does-matlab-support-high-dpi-screens-on-linux#answer_325831 ).
How do I solve the issue in the new release ?
0 Comments
Accepted Answer
Abhipsa
about 3 hours ago
I tried the same commands on R2025b on Debian 12 and they work as expected on my side, so this may be environment-specific.
Meanwhile, as a workaround you can follow:
You can refer to the following documenation for more details:
I hope this resolves your query.
More Answers (0)
See Also
Categories
Find more on Desktop in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!