Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Matlab to Excel 2007
Date: Thu, 1 Nov 2007 15:10:45 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <fgcq9l$rp6$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1193929845 28454 172.30.248.38 (1 Nov 2007 15:10:45 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 1 Nov 2007 15:10:45 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1169387
Xref: news.mathworks.com comp.soft-sys.matlab:435651



I would like to export a cell array containing more than 
256 rows from MATLAB 7.1 to Microsoft Excel 2007. Using 
xlswrite I get the following error:

??? Error using ==> xlswrite
Error: Object returned error code: 0x800A03EC

Excel 2007 worksheets can contain more than 256 columns so 
the size of the array shouldn&#8217;t be a problem. Perhaps the 
issue is related to the new *.xlsx extension that Excel 
2007 uses or a COM connection not compatible with xlswrite? 
That said, I&#8217;m fairly new to the MATLAB community and I&#8217;m 
not sure where to begin to troubleshoot these issues.

Any ideas/solutions would be much appreciated,
Jay