Matlab/Editor windows and fonts resize (get smaller) on right click ... why?

130 views (last 30 days)
Hossein on 20 Mar 2014
Commented: Aldo Camargo on 15 Oct 2020
Hi There,
I am using MATLAB 2013b (64bit) on a Windows convertible laptop (Win 8.1 - 64bit).
When the MATLAB runs at the beginning the size of the windows and fonts are all normal compared to the system's font and display sizes, but once I do a right click everything gets re-sized (smaller) and I would have to restart the program to go back to normal.
If I had to explain it better, the effects are similar to "Changing the Size of all items" for display in the Windows system from 150% to 100%.
Does anybody know why this happens and if there is a fix for it?
Thank you in advanced ... HoSsEiN
Alex Butterfield
Alex Butterfield on 22 May 2018
left click in the live editor box and cmd + (maybe ctrl + on windows). This worked for me to go back to normal.

Sign in to comment.

Accepted Answer

Bora Eryilmaz
Bora Eryilmaz on 10 Mar 2015
There is a workaround now available in R2015a release of MATLAB that partially resolves the issues with blurriness and resizing of the MATLAB Desktop on Windows platform. The workaround patch can be downloaded from Bug Report ID 1054442.

Sign in to comment.

More Answers (6)

Jairo A Sandoval
Jairo A Sandoval on 8 Oct 2014
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
George Vuong
George Vuong on 25 Sep 2015
I agree with what Matthew said. Upon opening MATLAB, the fonts and MATLAB window shrunk and became very difficult to read. I have R2015a.

Sign in to comment.

Viet Dung
Viet Dung on 7 Jul 2017
Windows 10 fix for R2014a: - Open Properties of exe file ( inside bin folder ) - Open Compatibility - Check Override high DPI scaling behavior. - Choose Scaled performed by System.

Fred Wagen
Fred Wagen on 17 Feb 2020
Edited: Fred Wagen on 17 Feb 2020
command + shift + 2 fingers scroll up (or down) lets you increase (decrease) the font size in the help window ... but looks weird before it gets stable to what you want ... R2019, MacBook Pro.
2 fingers zoom lets you increase the font size in .mlx
command , (or Preference) ... Fonts(*) Custom Editor ... Desktop code (assuming you did *set the fonts you want in Fonts) in .m
... why so unintuitively different for help, mlx and m viewer/editor ? ... I do not know.

Hossein on 26 Feb 2016
I learned to tolerate the issue and mainly would turn down my screen resolution for the time I was working with MATLAB.
Thank you Bora, I just tried the patch and it seems to have fixed the issue!

Armin Baur
Armin Baur on 13 Dec 2017
Did someone resolve the exact same issue on Linux? I got this problem with a resolution of 3840 x 2160 on Arch Linux with Gnome.

vinayak pachkawade
vinayak pachkawade on 14 Jun 2018
Edited: vinayak pachkawade on 14 Jun 2018
In R2013b, right click on matlab, go to properties, go to compatibility, click on ''change high DPI settings'', check the option '' Override high DPI scaling behaviour'', select scaling performed by '' System( Enhanced). It worked for me.

Community Treasure Hunt

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

Start Hunting!