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

 Akzeptierte Antwort

Star Strider
Star Strider am 18 Jan. 2019

0 Stimmen

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.

Weitere Antworten (2)

madhan ravi
madhan ravi am 18 Jan. 2019

0 Stimmen

doc fprintf % see the examples there
selim karakurt
selim karakurt am 20 Jan. 2019

0 Stimmen

thank you both I just realised my mistake

Kategorien

Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by