MATLAB Answers

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

334 views (last 30 days)
Hossein
Hossein on 20 Mar 2014
Edited: Fred Wagen on 17 Feb 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

  9 Comments

Show 6 older comments
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.

  3 Comments

Matthew Cooper
Matthew Cooper on 8 Sep 2015
This also does not work for the problem reported by the OP. When this bug fix is implemented, it re-scales the sidebar windows and the main editor window differently. The sidebar windows (e.g. the workspace variables and directory tree) are un-readble (too small, same exact as original problem posed by OP when right-clicking) and the editor window fonts are scaled larger then normal. It also seems to overwrite the custom font settings I have set in Preferences and changes the fonts back to the default system fonts.
Muhammad Anees
Muhammad Anees on 22 Feb 2017
Can you please explain step 3? I don't really get how to locate patch file by opening matlab.....
Koushiki Sharma
Koushiki Sharma on 11 Nov 2018
Matlab r2015a running on windows 10, everything shrunk because of a right click ! how can i fix it?

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

  2 Comments

Matthew Cooper
Matthew Cooper on 8 Sep 2015
This does not work for me on Windows 8 using R2015a. I have the exact same issue as the OP. When I follow the directions above, it does exactly what the original problem is - it changes the scaling of the windows and fonts to be un-readble (too small). Essentially, this "fix" just guarantees that the right click problem will be enforced whether your right click or not!
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.

  0 Comments

Sign in to comment.


Hossein
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!

  0 Comments

Sign in to comment.


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.

  0 Comments

Sign in to comment.


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.

  0 Comments

Sign in to comment.


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.

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by