matlab editor输出数字,How to zoom in/out in Matlab editor?

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!

# Answer 1

4d350fd91e33782268f371d7edaa8a76.png

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.

# Answer 2

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.

# Answer 3

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值