[問題] xlswrite已回收
原本將輸出的資料存到.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
04/20 11:31, 1F
討論串 (同標題文章)
MATLAB 近期熱門文章
PTT數位生活區 即時熱門文章