Reputation: 193
I am wondering if there is a way to zoom in/out or change font size or any way to make the text in the code in Matlab editor bigger/smaller!
Upvotes: 10
Views: 35333
Reputation: 11
Go to View---->Zoom In\out
. It was the only way I could undo zooming in
Upvotes: 0
Reputation: 71
None of the other solutions work for the live editor. Instead, hold command and scroll to zoom in / out.
Upvotes: 2
Reputation: 156
If someone else is lead to this questions by a search engine post 2017*: the following code apparently zooms into the whole MATLAB editor by a factor of 1.5 but requires a MATLAB restart:
s = settings;
currentZoom = s.matlab.desktop.DisplayScaleFactor.ActiveValue;
s.matlab.desktop.DisplayScaleFactor.PersonalValue = currentZoom * 1.5
Upvotes: 3
Reputation: 35525
You go to Home->Preferences->MATLAB->Fonts
and you can change the size of the text. If you play with the preferences around you may be able to personalize more things also.
Upvotes: 11
Reputation: 3476
Depending on your MATLAB version, open the "Preferences" window. At least in newer versions, this is usually found at the top of the main window, in the bar labelled "Environment".
In the window that opens up, navigate to the tab called "Fonts". At the top of the right hand side of the window, you will find a drop-down menu containing the font size. This affects the font size in the command window, editor, and the command history. You may also change the font here.
Upvotes: 3