2009-12-31 MatLabのfprintfの改行 MatLab Uncategorized MatLabでテキスト出力する時に\nで改行されなかった.どうやら,テキストモードでファイルを開く必要があるらしい(詳細はここ).file = fopen('test.txt','wt');fprintf(file,'%i\n', a);fclose(file)