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 ExchangeOperators 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