add boldface text to text area

8 visualizzazioni (ultimi 30 giorni)
Mike D.
Mike D. il 11 Mar 2021
Modificato: Jan il 11 Mar 2021
How do I add a new line to text area that is bold-face, while not having all lines bold-face?
app.TextArea1.Value = [{sprintf('\bf[%s]: updated message', datestr(now,'HH:MM'))}; app.TextArea1.Value];
Adding "\bf" in the beginning doesn't work.

Risposta accettata

Jan
Jan il 11 Mar 2021
Modificato: Jan il 11 Mar 2021
As far as I know the uitextarea is not powerful enought yet to allow setting different text properties. Neither the LaTeX syntax nor <HTML> tags are working.

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by