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

7 views (last 30 days)
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?

Accepted Answer

Anna Weeks
Anna Weeks on 18 Nov 2024
Moved: Fangjun Jiang on 13 Feb 2025
disp(formattedDisplayText(my_table,"SuppressMarkup",true))

More Answers (1)

Fangjun Jiang
Fangjun Jiang on 22 Aug 2016
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 Comments
Walter Roberson
Walter Roberson on 22 Aug 2016
You could also use perl, which can be invoked directly from MATLAB using the perl() command.

Sign in to comment.

Categories

Find more on Scripts 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!