Command fprintf with the text format

GoodMorning,
Is it possible to provide a text in bold and underlined using the command fprintf?
Thanks in advance.
My example: fprintf(fid_log,'\n\t -> Nombre de ligne d''erreur contenant un nbre de champs = au nbre attendu : %d', size_temp_mer_egal125);
i would like the text 'Nombre ... ' until 'attendu:' is in bold
Best regards
Céline Bachelier

回答 (1 件)

Mischa Kim
Mischa Kim 2014 年 1 月 17 日

1 投票

2 件のコメント

Walter Roberson
Walter Roberson 2014 年 1 月 17 日
Thanks, saved me from having to locate that!
Vlad Atanasiu
Vlad Atanasiu 2020 年 4 月 11 日
Yes there is: see here.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeLanguage Support についてさらに検索

質問済み:

2014 年 1 月 17 日

コメント済み:

2020 年 4 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by