1
我試圖寫一個單元陣列和我使用這些線路代碼:調用錯誤,調度異常:
[filename,pathname] = uiputfile('.xlsx','choose your file');
fileToWrite = fullfile(pathname,filename);
fileID = fopen(fileToWrite,'w');
**xlswrite(fileToWrite,cellul);**
fclose(fileID);
我收到此錯誤在粗線
???錯誤使用==> xlswrite at 213 調用錯誤,調度異常: 源:Microsoft Office Excel 描述:由於文件格式或文件擴展名無效,Excel無法打開文件'eee.xlsx'。 驗證文件是否已損壞,並且文件擴展名與文件的格式相匹配。