new line

12 views (last 30 days)
huda nawaf
huda nawaf on 11 Sep 2011
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

Community Treasure Hunt

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

Start Hunting!