[問題] xlswrite已回收

看板MATLAB作者 (heavyheart)時間16年前 (2009/04/20 10:39), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/2 (看更多)
原本將輸出的資料存到.txt: file = fopen('Final.txt', 'a+'); fprintf(file, '%s %s %g %g\r\n\r', datestr(now), path, mean(sample), std(sample)); 但現在想輸出到excel去: xlswrite('Final.xls', {datestr(now), path, mean(sample), std(sample)}, 'Sheet1'); 我的問題是,原本希望程式"每次執行"自動把新跑出來的結果加到新的一行 即原本的'a+' 但不知道xlswrite有無類似的功能? 謝謝大家 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.34.220

04/20 11:31, , 1F
xlswrite再重新看一下,第二個參數我記得就是位置
04/20 11:31, 1F
文章代碼(AID): #19w-1HsU (MATLAB)
討論串 (同標題文章)
文章代碼(AID): #19w-1HsU (MATLAB)