[問題] Excel 無法讀檔 >"<

看板MATLAB作者 (jeremy)時間13年前 (2012/08/26 21:16), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
小弟初學 Matlab 按照 Mathworks 的網站教學去學關於 xlsread 的使用方法 http://www.mathworks.com/help/techdoc/ref/xlsread.html 按照上面網頁中的 Example 去學 程式碼如下 ------------------------------------------------------------------------------ >> values = {1, 2, 3 ; 4, 5, 'x' ; 7, 8, 9}; >> headers = {'First', 'Second', 'Third'}; >> xlswrite('myExample.xlsx', [headers; values]); >> A = xlsread('myExample.xlsx') ??? Error: Object returned error code: 0x800AC472 Error in ==> xlsread at 241 Excel.DisplayAlerts = 0; ------------------------------------------------------------------------------ 網站上的Example截圖 http://ppt.cc/dWRr 我自己跑程式碼的截圖 http://ppt.cc/iCGM 照理說步驟是完全一模一樣 >"< 但是結果卻是 Error 想請教版上大大解惑 m(_ _)m 感謝!!! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.192.252.226

08/28 09:36, , 1F
我複製貼上OK耶,亂猜一下你的office能開xlsx嗎?
08/28 09:36, 1F

08/28 22:35, , 2F
可以 >"< 後來我把它存成csv檔就可以讀...也不知為什麼
08/28 22:35, 2F
文章代碼(AID): #1GEY78E3 (MATLAB)