I dont know why but text editing commands doesnt work they just seem on the fprintf screen

 採用された回答

Star Strider
Star Strider 2019 年 1 月 18 日

0 投票

In your fprintf call, the escape characters require a ‘backslash’ or ‘backslant’, not a ‘forward slash’ or ‘forward slant’.
To do a carriage return and linefeed, use \n, do not use /n.

その他の回答 (2 件)

madhan ravi
madhan ravi 2019 年 1 月 18 日

0 投票

doc fprintf % see the examples there
selim karakurt
selim karakurt 2019 年 1 月 20 日

0 投票

thank you both I just realised my mistake

カテゴリ

ヘルプ センター および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by