new line

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

回答(1 个)

bym
bym 2011-9-11

0 个投票

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

类别

帮助中心File Exchange 中查找有关 Operators and Elementary Operations 的更多信息

标签

提问:

2011-9-11

Community Treasure Hunt

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

Start Hunting!

Translated by