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

86 vues (au cours des 30 derniers jours)
Hossein
Hossein le 20 Mar 2014
Commenté : James Mathio le 8 Jan 2023
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 commentaires
Oying Doso
Oying Doso le 3 Avr 2018
Modifié(e) : Oying Doso le 3 Avr 2018
i have same problem iam using matlab R2014a os is windows 10.
Alex Butterfield
Alex Butterfield le 22 Mai 2018
left click in the live editor box and cmd + (maybe ctrl + on windows). This worked for me to go back to normal.

Connectez-vous pour commenter.

Réponse acceptée

Bora Eryilmaz
Bora Eryilmaz le 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.
  4 commentaires
Koushiki Sharma
Koushiki Sharma le 11 Nov 2018
Matlab r2015a running on windows 10, everything shrunk because of a right click ! how can i fix it?
Aldo Camargo
Aldo Camargo le 15 Oct 2020
It works, thanks a lot
Aldo

Connectez-vous pour commenter.

Plus de réponses (6)

Jairo A Sandoval
Jairo A Sandoval le 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 commentaires
Matthew Cooper
Matthew Cooper le 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 le 25 Sep 2015
Modifié(e) : George Vuong le 26 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.

Connectez-vous pour commenter.


Viet Dung
Viet Dung le 7 Juil 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 le 17 Fév 2020
Modifié(e) : Fred Wagen le 17 Fév 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.
  2 commentaires
Joshua Hartshorne
Joshua Hartshorne le 30 Avr 2020
thank you legend
Nathan Kando
Nathan Kando le 5 Sep 2020
Can you elaborate this if I want to shrink the font size of the .m file tabs in the Editor window for macOS?

Connectez-vous pour commenter.


Hossein
Hossein le 26 Fév 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 le 13 Déc 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 le 14 Juin 2018
Modifié(e) : vinayak pachkawade le 14 Juin 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.

Catégories

En savoir plus sur Desktop dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by