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?

조회 수: 48 (최근 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에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by