How can I increase the fontsize of Matlab Desktop in a High-DPI (4K) monitor on Linux (Ubuntu) after enabling Scaling Factor in the system settings?

58 次查看(过去 30 天)
The font size of Matlab is fine when not using fractional scaling in Ubuntu. However, when the fractional scaling is on in the Display settings, Matlab desktop actually becomes smaller at a point that is to hard to read the text. Is there a way to increase the font size of the system so that MAtlab interface doest get all scalled down?

采纳的回答

Joao Nizer
Joao Nizer 2023-8-5
One way is to solve this issue is to use 'gnome-tweaks' instead of the fractional scaling in the settings.
Keep fractional scaling off, then install in the linux system terminal the gnome-tweaks application:
sudo apt install gnome-tweaks
After it is installed, open up the app go to Fonts->Scaling Factor and set the system Fonts to the size you desire.
Matlab will not be affected, and the system fonts will be scalled propperly.
PS: Activating fractional scalling directly on System Setting makes matlab become even smaller, who knows why. And following this https://www.mathworks.com/matlabcentral/answers/406956-does-matlab-support-high-dpi-screens-on-linux#answer_325831 solution does not solve the problem entirely as some checkboxes and serach box will continue very small.
Overall this solution keeps matlab as is, and makes you system have larger fonts! Until matlab scales propperly with the fractional scalling on Linux, this would be a viable solution.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by