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

8 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Anna Weeks
Anna Weeks el 18 de Nov. de 2024
Movida: Fangjun Jiang el 13 de Feb. de 2025
disp(formattedDisplayText(my_table,"SuppressMarkup",true))

Más respuestas (1)

Fangjun Jiang
Fangjun Jiang el 22 de Ag. de 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 comentarios
Fangjun Jiang
Fangjun Jiang el 22 de Ag. de 2016
Is it possible for you to consider other tools, such as UNIX grep/sed?
Walter Roberson
Walter Roberson el 22 de Ag. de 2016
You could also use perl, which can be invoked directly from MATLAB using the perl() command.

Iniciar sesión para comentar.

Categorías

Más información sobre Scripts en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by