批踢踢實業坊
›
看板
MATLAB
關於我們
聯絡資訊
返回看板
作者
jackox (jackox)
看板
MATLAB
標題
Re: [問題]矩陣儲存成TXT
時間
Fri Oct 25 20:59:52 2013
目前試出來用迴圈寫,有更好的方法嗎? 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