the function of \n
Mostrar comentarios más antiguos
what is the function of \n ?
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 30 de Mzo. de 2020
13 votos
When used in a format specifier string, it puts the following stuff on a new line:
>> fprintf('Line 1\nLine 2\nLine 3\n\nLine 4\n')
Line 1
Line 2
Line 3
Line 4
1 comentario
Umut Oskay
el 30 de Mzo. de 2020
Categorías
Más información sobre Characters and Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!