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 Center および File ExchangeGet 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