new line

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

Answers (1)

bym
bym on 11 Sep 2011
d=magic(3);
fprintf('%g %g %g\n',d) % '\n' = newline

Categories

Find more on Operators and Elementary Operations in Help Center and File Exchange

Tags

Asked:

on 11 Sep 2011

Community Treasure Hunt

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

Start Hunting!