Is there a way to turn off or suppress bold headers on tables in the Command Window?

7 ビュー (過去 30 日間)
When I use diary to save Command Window output to a text file, the table headers all have "</strong>" formatting, which makes it difficult to read in a text editor. Is there a way to have either the Command Window or diary output suppress the bold headers on tables?

採用された回答

Anna Weeks
Anna Weeks 2024 年 11 月 18 日
移動済み: Fangjun Jiang 2025 年 2 月 13 日
disp(formattedDisplayText(my_table,"SuppressMarkup",true))

その他の回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2016 年 8 月 22 日
It might not be possible according to the document.
One not-so-perfect workaround is to save the diary to a text file and then show it in Command Window using the "type" command
type diary.txt
  3 件のコメント
Fangjun Jiang
Fangjun Jiang 2016 年 8 月 22 日
Is it possible for you to consider other tools, such as UNIX grep/sed?
Walter Roberson
Walter Roberson 2016 年 8 月 22 日
You could also use perl, which can be invoked directly from MATLAB using the perl() command.

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

カテゴリ

Help Center および File ExchangeScripts についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by