text editing commands error

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

 Accepted Answer

Star Strider
Star Strider on 18 Jan 2019
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.

More Answers (2)

selim karakurt
selim karakurt on 20 Jan 2019
thank you both I just realised my mistake

Categories

Community Treasure Hunt

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

Start Hunting!