MATLAB scaling issue on high-resolution (high DPI) displays in Linux environments

23 views (last 30 days)
Hi,
it seems to be generally known that Matlab has problems to scale appropriately on high DPI screens. There exist workarounds for Windows (<http://se.mathworks.com/matlabcentral/answers/153254-matlab-scaling-issue-on-high-resolution-high-dpi-displays#answer_170792)>, but none for Linux. With the current scale it is almost impossible to read anything on the window. Increasing the font size is one possibility; however, it is not increasing the other menu options.
Is there even a plan to fix this design flaw in Matlab for Linux?
  5 Comments
Paolo Mesiano
Paolo Mesiano on 31 Jul 2017
Hi,
I'm using the code you provided and it works perfectly. Only thing is that when I close Matlab it switches back to the original resolution but without the 2x rescaling. So I end up with the proper resolution but very tiny text. Any suggestion about how to solve it?
Thanks.
Mr. Mas
Mr. Mas on 6 Apr 2018
I'm using Centos7 with Gnome. (I don't think I ever saw this issue using KDE but have recently switched to Gnome.) I am using a VNC server. I set the scaling to 1, reduced my resolution to 1024x768, then ran Matlab, quit, and set my resolution to 1920x1080. The fonts in the Editor, Command Window, and Command History were fine, but all the other fonts were large. I then used the autoscale feature of Windows (same if running a VNC viewer from on CentOS) to resize my window. Finally, I returned the scaling factor back to 1. Now things look good.

Sign in to comment.

Accepted Answer

Dr Noob
Dr Noob on 27 Feb 2019

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!