the function of \n
Afficher commentaires plus anciens
what is the function of \n ?
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 30 Mar 2020
13 votes
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 commentaire
Umut Oskay
le 30 Mar 2020
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!