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?

47 views (last 30 days)
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?

Accepted Answer

Joao Nizer
Joao Nizer on 5 Aug 2023
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.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!