How to zoom text at m file?

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 comentarios

Jan
Jan el 23 de Jun. de 2013
@Muthu: Please post answers in the answer section. Then I could vote for it.
Walter Roberson
Walter Roberson el 23 de Jun. de 2013
Is the laptop a MacBook Pro with Retina Display, and you are running a release before R2012b ?
mehran najjarian
mehran najjarian el 23 de En. de 2015
Go to: file->preferences->fonts->desktop code font and make it bigger

Iniciar sesión para comentar.

Respuestas (4)

mahmoud
mahmoud el 20 de Dic. de 2013

10 votos

hi
In home tab go to preferences,fonts,custom,editor
You can choose custom and then edit it.

4 comentarios

Frieder Wittmann
Frieder Wittmann el 6 de Feb. de 2018
Yes. But it would be very nice if there was a shortcut, too. Everytime one switches from e.g. Laptop screen to large screen the preferences have to be opened. Come on Mathworks, just implement Ctrl+ and CTRL- !
Luc Maillat
Luc Maillat el 30 de Mayo de 2018
Same opinion here...
adams13
adams13 el 27 de Abr. de 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 el 20 de Dic. de 2022
Ctrl +/- and Ctrl mouse-scroll works for me on m-files in 2022b (Win 11).

Iniciar sesión para comentar.

Erik Hakopian
Erik Hakopian el 19 de Jul. de 2022

3 votos

On mac try to hold down COMMAND and scroll

1 comentario

Rik
Rik el 19 de Jul. de 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.

Iniciar sesión para comentar.

Tim
Tim el 15 de Abr. de 2020

2 votos

COMMAND+/- is working for me in livescripts for 2017b on mac
Povi Nike
Povi Nike el 23 de Jun. de 2013

0 votos

NO ITS WINDOWS 7 ASUS

Categorías

Más información sobre Entering Commands en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 21 de Jun. de 2013

Comentada:

el 20 de Dic. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by