text editing commands error

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 个)

类别

帮助中心File Exchange 中查找有关 Entering Commands 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by