Why am I receiving xlswrite error 0x800a03ec?
2 ビュー (過去 30 日間)
古いコメントを表示
I've run into the issue where the error code
0x800a03ec
is output from xlswrite in the 'message' structure.( NOTE: I'm using Excel 2003 and Matlab 2006a )
All I'm writing to the excel sheet are double precision values. The original goal was to take notepad files and write them to excel sheets. The files are held in 3 folders with 20 files a piece each possessing 40000x2 (row*col) data points. Each folder gets its own sheet in excel. I've already read about the character limits, column limits, and row limits. I know I'm not exceeding the row or column limits, and I'm 99% certain I'm not violating the character limits. I also know I'm not exceeding the overall data limit (of excel not necessarily xlswrite() ) because I've had to "hand" generate 1.6 million cells worth of data for test cases for stress testing a very similar script. (The files I'm talking about have nothing to do with stress testing)
What's interesting is that in all of the folders it cycles through all of them consistently failing on columns AA,AD, and BF. In the excel template I'm writing too (not a true excel template, just a ' .xls ' file) AA and BF just happen to be the first columns on their respective printable pages; AD, of course, does not. All of the other files write just fine. AA, AD, and BF are the 10th, 11th, and 20th files to be written from each of the folders respectively with 3 folders existing. The data in each folder were not collected concurrently. I collected data one folder at a time; accumulating 20 files before moving to the next folder. All of the files (1-60) were collected in one test session, so it is highly unlikely the data itself is bad, especially considering the circumstances. The excel file isn't protected. I'm not writing to a range of cells, just a column at a time via a 'for' loop.
I have another fairly similar script from which my current script is based and it hasn't ever had a problem with writing before while using, more or less, same sets of data.
Does anyone have a suggestion as to what I should do or at least what may be causing this?
I politely ask I'm not given the following link. I've seen it too many times.
Thanks in advance.
4 件のコメント
Image Analyst
2015 年 8 月 31 日
Can you attach one of the workbooks? Would you consider upgrading your Excel and MATLAB versions if that turned out to be the easiest, or only, way to fix it (like if I proved it worked on my system)?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!