Highlighted numbers in Matlab

Hello :), I am new in Matlab, and I'd like to know if there is a way to highlight numbers so that it can be easily differentiated from the rest of the characters.
I am referring to this:
Numbers in Matlab:
Highlighted numbers:

回答 (1 件)

Walter Roberson
Walter Roberson 2024 年 4 月 30 日

1 投票

This does not work for LiveScript.
This does not work for storing into a file.

2 件のコメント

Santiago
Santiago 2024 年 4 月 30 日
Not exactly what I needed, but that's a nice feature too :). I was wondering instead if I could highlight the numbers in the script editor, which apparently hasn't been implemented yet, but I'm not sure. Thanks for your answer. Have a good day!
Walter Roberson
Walter Roberson 2024 年 5 月 1 日
It is not supported in LiveScript fixed text.
It is not possible in LiveScript output.
... The difference between these two statements is that colorizing fixed text might not be available yet but is something that would be relatively simple for Mathworks to add, whereas supporting colorization in output would take a fair bit more work on the part of Mathworks.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

質問済み:

2024 年 4 月 30 日

コメント済み:

2024 年 5 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by