Is there a way to turn off or suppress bold headers on tables in the Command Window?
조회 수: 9 (최근 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?
댓글 수: 0
채택된 답변
Anna Weeks
2024년 11월 18일
이동: Fangjun Jiang
2025년 2월 13일
disp(formattedDisplayText(my_table,"SuppressMarkup",true))
댓글 수: 1
George Kireev
2025년 2월 13일
이동: Fangjun Jiang
2025년 2월 13일
Anna Weeks's decision helped me. works greatly
추가 답변 (1개)
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
Walter Roberson
2016년 8월 22일
You could also use perl, which can be invoked directly from MATLAB using the perl() command.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!