how can I increase font size in Matlab scripts

151 Ansichten (letzte 30 Tage)
Shahram Taherzadeh
Shahram Taherzadeh am 17 Dez. 2015
Is there any way of increasing the font size in Matlab command line or script editor?This is for people with sight issues.
  1 Kommentar
John Ondov
John Ondov am 17 Feb. 2020
In Matlab R2017a prerelease, I could only change the font size of characters displayed in the editor (i.e., my .m files). by going to Home/Preferences/Fonts/Custom/Editor. I dn't know what the actual R2017a release or subsequent releases require.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 17 Dez. 2015
Yes. From the tool ribbon: Home -> Preferences -> Fonts -> Desktop Code Font
  3 Kommentare
Nikolaos Nikolaou
Nikolaos Nikolaou am 11 Mär. 2021
And thanks from 2021 :)
Steven Lord
Steven Lord am 11 Mär. 2021
FYI there is some additional control available in recent releases. In particular in release R2021a you can change font properties in the Live Editor using the settings interface. See the Release Notes.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Peter Wittenberg
Peter Wittenberg am 4 Jan. 2021
I looked up this thread because my script was shrinking to such a small size that I had trouble reading it. While the answer above will work to a degree, the issue is actually one of Windows, at least when you are using a PC. It turns out that in Windows you can increase or decrease the font size in any window by clicking in the window to select it, then holding down the Ctrl key and using the scroll wheel on your mouse. If you don't have a scroll wheel, I suspect that other mouse actions can also be used.
My problem with the shrinking is one that I haven't quite figured out, but I believe it is the same trigger, but this happens on a laptop when my hand goes over the mouse keypad and some other buttons are pressed. It's specific to particular laptop keyboard designs. It's frustrating, but the CTRL-Scroll does get the text size up or down very easily.
  3 Kommentare
Raymond
Raymond am 16 Sep. 2022
Awesome! CTRL-Scroll works for me
Kimberly Van Meter
Kimberly Van Meter am 7 Jan. 2023
Works for me too, on a Mac. Thanks for the info.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by