Why does \r (carriage return) also create a new line when printing to the Command Window?
Show older comments
There does not seem to be a difference in the use of \n or \r. I would like to see the \r only return a carriage return and not a new line as it does in C.
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!