Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab to Excel 2007
Date: Thu, 1 Nov 2007 16:29:54 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 27
Message-ID: <fgcuu2$agg$1@fred.mathworks.com>
References: <fgcq9l$rp6$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1193934594 10768 172.30.248.35 (1 Nov 2007 16:29:54 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 1 Nov 2007 16:29:54 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: news.mathworks.com comp.soft-sys.matlab:435677



"Jay " <jay.nospam@mathworks.com> wrote in message
<fgcq9l$rp6$1@fred.mathworks.com>...
> 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

This is an error returned to Matlab from your Excel. Try
using OfficeDoc, which uses a slightly different way to save
Matlab data in Excel:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15192

Yair Altman
http://ymasoftware.com