The Matlab editor has thin line-space on Mac version, see attached. How to make it as the Windows version?

2 次查看(过去 30 天)
On Windows:
On Mac:
  2 个评论
DGM
DGM 2023-2-7
编辑:DGM 2023-2-7
For starters, those aren't the same font, so I'd start by trying to compare apples to apples.
The font can be set in the preferences, but be wary. As I understand it, selecting "monospaced" means you use some system-level default monospace font, not some unique font called "monospaced". So two installations in different environments may be using different fonts even though both are set to "monospaced".

请先登录,再进行评论。

回答(1 个)

Sai Sumanth Korthiwada
Hi John,
By default, Right-hand text limit line is in grey color [0.8 0.8 0.8] and it can be modified by the user.
In the image you have provided in Windows, the line is in black [0 0 0] color. You can modify/set the color of Right-hand text limit line by following the steps mentioned below:
  1. Go to Home > Preferences (in Environment) > MATLAB > Editor/Debugger > Display > Right-hand text limit.
  2. Click on color and set the color of your choice. If you want to use the color which appears in Mac image which you have attached, use [0.8 0.8 0.8]. Click Apply > Ok.
Please refer to the image attached:
Hope this helps.

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by