MATLAB scaling issue on high-resolution (high DPI) displays
이전 댓글 표시
Hi there,
I have just installed MATLAB R2014a on my 13.3" laptop with a resolution of 3200*1800, running on Windows 8.1.
When I start MATLAB it opens in a scaled window, and menu bars and the editor windows are somewhat blurry. At some point (from one to 15 minutes) the window resizes and the scaling turns off. Editing windows and menu bars are now illegibly small due to the bad dpi support of MATLAB i presume. I have the feeling that the display change it is related to right-clicks, but am not sure about that.
Has anyone ever experienced similar problems? Does MATLAB support high-resolution displays and I haven't found the checkbox to click? Is there any option (I guess in Windows) to force scaling?
I could work on a blurry scaled screen, but not when the system changes unexpectedly.
Cheers, and thanks in advance.
댓글 수: 10
Christian Schultes
2016년 6월 23일
Please have a look to this page about:
Applications using Bitmap Font gets effected with rendering issues if during Windows 7 Setup High DPI is deteted and DPI is set to 120 or higher
Héctor P[erez
2017년 10월 3일
I found the solution to solve the smaller icons when you start simulink. Right click on matlab shortcut, go to "Open File Location", select "matlab.exe", right click, select "Properties", then "Compatibility", select "Override high DPI scaling behavior, scalling performed by:" and choose "System" on the menu immediately below. With those steps you can solve the same problem for whatever application.
riad bendib
2018년 5월 14일
thanks a lot mr hector
Zeeshan Lodhi
2018년 6월 23일
Mr hector !! You made my day !! Thank you alot
joseph erlich
2019년 1월 31일
thank you!
Rouven Müller
2020년 2월 11일
many thanks! Now I know the solution also for other applications. thanks!
Freddy_Baez
2020년 2월 16일
This works for MATLAB r2019b. Thanks, Mr. Hector!
Freddy_Baez
2020년 2월 22일
Hello everyone,
By the way, I did what Mr. Hector is saying and it work for the blurry Matlab, on my first screen (1), but remains blurry in the other (2).
Also, the tools like Simulink and Fuzzy are still looking blurry.
Is there any solution for this?
Setup:
MATLAB r2019b
Sunita Khilar
2020년 11월 2일
편집: Sunita Khilar
2020년 11월 2일
Many thanks. It was a great help.
Thuong
2025년 10월 1일
Turn off scaling, and then run this in the matlab command line (matlab 2025a)
s = settings;
s.matlab.desktop.Zoom.PersonalValue=150
For older versions it might be
s.matlab.desktop.DisplayScaleFactor.PersonalValue
instead
채택된 답변
추가 답변 (14개)
Rafiq Akhundzada
2014년 12월 9일
9 개 추천
1) Close Matlab. 2) In the Windows Explorer, navigate to the 'bin' directory for your Matlab installation. 3) Right click on 'matlab.exe' and select "Properties". 4) On the "Compatibility" tab, put a check mark on "Disable display scaling on high DPI settings". 5) Click Apply and the OK. 6) Start Matlab.
This works in Windows 8
댓글 수: 3
Chris Monaco
2015년 1월 26일
While your solution didn't solve my problem completely...it got me 90% there.
Checking "Disable display scaling on high DPI settings" did NOT work, however, the option above it, "Run in 640 x 480 screen resolution" DID work.
The resolution is not ideal...but it is at least now in a workable state until MathWorks fixes this.
Maziyar
2015년 4월 19일
Thanks for the answer, "Run in 640 x 480 screen resolution" also solved my problem on LENOVO Yoga2, 64 bits.
Stefanie Schwarz
2023년 4월 20일
For Windows 10 & 11 instructions, see: https://www.mathworks.com/matlabcentral/answers/1950403-why-is-the-matlab-desktop-blurry-on-my-high-dpi-display-in-windows
Petr Stastny
2020년 2월 2일
2 개 추천
go to display settings/advanced scalling setting/ turn on auto fix of blurry - restart matlab.
For me worked.
R2019b
Sven André
2014년 9월 3일
1 개 추천
I have the same problem. I think some special touch-pad input changes the scale. But till now i haven't found out which gesture it is.
Andreas Hüwel
2019년 7월 10일
1 개 추천
I have Linux Debian 9 and just installed me matlab 2019a, and a 3k display. Matlab Workbench is absolutely tiny and unusable. It does not respond to the sytsem normal means of "scaling", refuses to cooperate with KDE/Plasma desktop. How to proceed? Why does it not adapt its icons and fonts to the screen resolution / dpi properties? I cannot work with this properly!
Viqar Ahmad
2019년 8월 15일
편집: Viqar Ahmad
2019년 8월 15일
1 개 추천
Same problem, using 2018b and 2019a with Fedora 30 and with Debian - and I found the answer here:
It worked a treat!
Luke
2022년 9월 27일
1 개 추천
If you're using an NVIDIA graphics cards, open NVIDIA Control Panel and try the following steps:
- Go into 'Manage 3D Settings'
- Go to 'Programs Settings'
- Find Matlab in the list or add it if it is not there.
- Set Antialiasing - FXAA to OFF
- Hit 'Apply'
This is what worked for me so I hope it works for all of you as well.
Logan
2014년 10월 27일
0 개 추천
I have found that trying to play a video using implay will cause the scaling to break as well. Also on a 13.3" 3200x1800 laptop, win8.1
I have the same issue except that the scaling switch only occurs when I attempt to highlight a block and right click on it. I haven't had a problem with this scaling problem occurring after a set of time like other users have; it only triggers when I perform the select+right click.
Restarting Matlab returns the scaling to the default values.
This issue is occurring on a Microsoft Surface Pro 1, Core I5-3317U, 128 GB running Windows 8.1 pro 64 bit.
Issue has only been tested in an environment where I have an external 1920x1080 monitor hooked up to my Surface thru a mini displayport adapter to hdmi cable to DVI adapter hookup.
I think I found a way to scale the MATLAB GUI. Simply launch the 64bit version in Program_Files/MATLAB/R2014b/bin/win64/MATLAB.exe. So far everything works as expected, but slightly blurred due to the scaling. See the attached screenshot.
BTW: this link could be useful to some: http://www.genericmaker.com/2014/05/force-dpi-scaling-on-windows.html. Did not work with matlab but, as explained above, I found another way.
matteo
2015년 3월 18일
0 개 추천
@Bora I tried the workaround but it didnt work. I have matlab 8.4.0.150421 (R2014b) and it says " High DPI support is not available on this version of MATLAB." What can I do?
댓글 수: 1
Bora Eryilmaz
2015년 3월 24일
Unfortunately the workaround only works for R2015a since it relies on code that only exists in this version of MATLAB. Currently there are no known workarounds for previous versions of MATLAB.
Andrea
2015년 6월 7일
0 개 추천
Same problem, I couldn't find a solution. I use matlab 2014b on a windows 8.1. I have tried 'Disable display scaling on high DPI settings’ but doesn't work for me. I hope that MathWorks will find a solution for this bug also for earlier versions than 2015. This bug is really annoying.
Christian Schultes
2016년 6월 14일
0 개 추천
I run in the same problem, but only with GUI which I did create with Matlab 2009. GUI's which I did create with Matlab 2011 do not have the scaling issue. So the question would be now, how to translate or convert the older GUI's? Anybody with a solution?
Vikrant Shah
2017년 6월 23일
0 개 추천
Has this been addressed yet?
카테고리
도움말 센터 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!