[討論] 請問一下有關cell檔存txt問題已回收

看板MATLAB作者 (曹操)時間14年前 (2011/05/04 00:28), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
請問各位高手 我打算開一個文件檔 裡面有文字 數字 如下 http://0rz.tw/mEfMA (無毒 安心) fid_trc=fopen('Foreman_trc_2.txt'); trc = textscan(fid_trc,'0%s %s %s %s %s %s %s %s'); fclose(fid_trc); 我用textscan 產生出來的trc 是以cell 方式讀出 我打算在中間刪除幾行 但格式是一樣 請問各位先不管如何處理 若我直接用上面的讀出trc 如何存回.txt的文字檔 -- brother by chance friend by choice -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.118.102.218

05/04 03:03, , 1F
去MATLAB Central下載 "cell2csv"
05/04 03:03, 1F
文章代碼(AID): #1Dm2qi_8 (MATLAB)