new line

hi, I want print file to array, but how to be in new line in array?
thanks in advance

Réponses (1)

bym
bym le 11 Sep 2011

0 votes

d=magic(3);
fprintf('%g %g %g\n',d) % '\n' = newline

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by