new line

14 次查看(过去 30 天)
huda nawaf
huda nawaf 2011-9-11
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
d=magic(3);
fprintf('%g %g %g\n',d) % '\n' = newline

类别

Help CenterFile Exchange 中查找有关 Operators and Elementary Operations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by