I am facing an issue in FONT style in the MATLAB 2024a editor window.

7 次查看(过去 30 天)
While I am keeping the Font style 'Monospace', I am getting the different Font styles in the command window and editor window. This is happening especially with the Font name called 'Monospace'. Can anyone help me in this regard?

采纳的回答

Sourabh
Sourabh 2024-7-11
The following page has information on how to change desktop fonts and how to specify custom fonts:
Using this, you should be able to customize the MATLAB desktop to your liking.

更多回答(1 个)

Deepak
Deepak 2024-7-11
Hi,
You are facing the issue of discrepancy in font styles in Editor window and Command window because ‘monospaced’ is a logical font.
Logical fonts are those which are not on present your system, MATLAB maps them to an actual (physical) font available on your system.
Physical fonts are those which are installed on your system, such as “Courier New” or “Arial.
To fix this issue, you can set a physical font, for example “Courier New” or any other font.
Attaching the documentation for reference -

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by