How to zoom text at m file?

131 views (last 30 days)
Povi Nike
Povi Nike on 21 Jun 2013
Commented: Jeffrey Bailey on 20 Dec 2022
Hello I bought new laptop which resolution is 1920x1080. When I open matlab any m file its text is very small and complicated to read and write. Please write how to zoom text at m file?
  4 Comments
Walter Roberson
Walter Roberson on 23 Jun 2013
Is the laptop a MacBook Pro with Retina Display, and you are running a release before R2012b ?
mehran najjarian
mehran najjarian on 23 Jan 2015
Go to: file->preferences->fonts->desktop code font and make it bigger

Sign in to comment.

Answers (4)

mahmoud
mahmoud on 20 Dec 2013
hi
In home tab go to preferences,fonts,custom,editor
You can choose custom and then edit it.
  4 Comments
adams13
adams13 on 27 Apr 2020
Well, up to R2020a they did manage to implement it in a live script. Both Ctrl+/Ctrl- and Ctrl_MouseWheel work. There is even an easy way to set zoom to 100%. You just zoom out completely and than zoom in 7 times. ;-)
Unfortunately, this is still not yet implemented for .m files. :-(
Jeffrey Bailey
Jeffrey Bailey on 20 Dec 2022
Ctrl +/- and Ctrl mouse-scroll works for me on m-files in 2022b (Win 11).

Sign in to comment.


Erik Hakopian
Erik Hakopian on 19 Jul 2022
On mac try to hold down COMMAND and scroll
  1 Comment
Rik
Rik on 19 Jul 2022
This only works on newer releases. I don't have access right now to older releases to confirm, but I suspect it was implemented in live scripts right from R2016a. In R2021b many features from the live editor were merged in the normal editor. Since it works in R2022a, I'm going to guess this is one of the features that were ported.

Sign in to comment.


Tim
Tim on 15 Apr 2020
COMMAND+/- is working for me in livescripts for 2017b on mac

Povi Nike
Povi Nike on 23 Jun 2013
NO ITS WINDOWS 7 ASUS

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!