add boldface text to text area

7 ビュー (過去 30 日間)
Mike D.
Mike D. 2021 年 3 月 11 日
編集済み: Jan 2021 年 3 月 11 日
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.

採用された回答

Jan
Jan 2021 年 3 月 11 日
編集済み: Jan 2021 年 3 月 11 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCategorical Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by