How to bold or italicize any sentence or text using fprintf in matlab?

34 visualizaciones (últimos 30 días)
David Beckham
David Beckham el 9 de Mzo. de 2021
Editada: Stephen23 el 9 de Mzo. de 2021
What are all the ways in which we can bold or italicize any text or sentence in matlab if we are using fprintf function ?

Respuestas (1)

Stephen23
Stephen23 el 9 de Mzo. de 2021
Editada: Stephen23 el 9 de Mzo. de 2021
Pure text files do not contain any formatting information:
You could add markup yourself, if you want, e.g. HTML or Markdown or LaTeX or whatever you prefer.
In the specific case of printing to the command window, you can use undocumented markup courtesy of this:

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by