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

4 vues (au cours des 30 derniers jours)
On Windows:
On Mac:
  2 commentaires
Rik
Rik le 20 Jan 2023
Is this with the same release? The layout changed recently. And did you have a look in the preferences?
DGM
DGM le 7 Fév 2023
Modifié(e) : DGM le 7 Fév 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".

Connectez-vous pour commenter.

Réponses (1)

Sai Sumanth Korthiwada
Sai Sumanth Korthiwada le 7 Fév 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.

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by