[問題] Excel 無法讀檔 >"<
小弟初學 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
08/28 09:36, 1F
→
08/28 22:35, , 2F
08/28 22:35, 2F