xls export problem
이전 댓글 표시
>> xls_1
xls_1 =
857_386.xls
>> xlswrite(xls_1,a) ??? Error using ==> xlswrite at 213 Invoke Error, Dispatch Exception: Source: Microsoft Office Excel Description: ???????????????????:
??????????????? ??????????? ??????????????: < > ? [ ] : ? *? ????????????? 218 ????? Help File: C:\Program Files\Microsoft Office\OFFICE11\1028\xlmain11.chm Help Context ID: 0
채택된 답변
추가 답변 (5개)
Jan
2011년 2월 20일
I do not see the problem.
a = rand(5);
xls_1 = '857_386.xls';
xlswrite(xls_1, a);
=> The file 857_386.xls is created. Did you use "xlswrite xls_1 a" without parenthesis?!
Hello Blower
2011년 2월 20일
0 개 추천
댓글 수: 1
Jan
2011년 2월 20일
Please post the exact Matlab commands you have used.
Matt Tearle
2011년 2월 20일
0 개 추천
Dare I ask... When you say you set xls_1 = 857_386.xls, you do mean xls_1 = '857_386.xls', right?
Cagri Ozcaglar
2011년 3월 4일
0 개 추천
File name may be too long. Try to shorten the absolute path of the file by shortening folder names.
Chidiebere Brendan Obiechefu
2019년 7월 29일
0 개 추천
I had same problem. What solved mine was writing the excel file to a desktop location. I don't know if it was because I was trying to save on onedrive (which is what I use normally), or that the file path is too long.
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!