Re: [問題]矩陣儲存成TXT

看板MATLAB作者 (jackox)時間12年前 (2013/10/25 20:59), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
目前試出來用迴圈寫,有更好的方法嗎? temp_file=1; fid = fopen('1.txt', 'wt'); for temp_file=1:family_only_length_x fprintf(fid, '%s ', array_all{temp_file,:}); fprintf(fid, '\n'); end fclose(fid); -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 112.104.110.187
文章代碼(AID): #1IQcjBJu (MATLAB)
文章代碼(AID): #1IQcjBJu (MATLAB)