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

7 views (last 30 days)
On Windows:
On Mac:
DGM on 7 Feb 2023
Edited: DGM on 7 Feb 2023
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".

Sign in to comment.

Answers (1)

Sai Sumanth Korthiwada
Sai Sumanth Korthiwada on 7 Feb 2023
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.


Find more on Environment and Settings in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by