Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to export a plot to excel?
Date: Sat, 3 Nov 2007 16:34:41 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 38
Message-ID: <fgi7v1$dgc$1@fred.mathworks.com>
References: <ffeoil$ipv$1@fred.mathworks.com> <fgf6v8$6ls$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 1194107681 13836 172.30.248.35 (3 Nov 2007 16:34:41 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 3 Nov 2007 16:34:41 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: news.mathworks.com comp.soft-sys.matlab:435927



"Hans Christian petersen" <hcpetersen2@sauer-danfoss.com>
wrote in message <fgf6v8$6ls$1@fred.mathworks.com>...
> "Yoav Rubin" <yoavrubin@hotmail.com> wrote in message 
> <ffeoil$ipv$1@fred.mathworks.com>...
> > Hi All,
> > 
> > I have a plot with several line in it (using hold off), 
> and
> > I'd like somehow to export this plot to excel, so that in
> > the excel file I'll have a similar graph, with the similar
> > lines. Can i do it or do I have to use xlswrite to export
> > all the XDatas and YDatas of the lines and afterwards
> > manually re-build the graph in excel?
> > 
> > Thanks
> > Yoav
> > 
> > Hi all,
> I have the same problem as Yoav needing a Matlab figure 
> inserted in an Excel sheet. Using the free version of 
> OfficeDoc on an existing workbook resulted in a picture on 
> sheet1 allright but also that a couple of nondefault sheets 
> containing data were deleted !!! (I did use the append mode 
> when opening )
> Is the proffesional version of OfficeDoc any better ?


No Excel sheets should have been deleted unless the 'DelStd'
parameter was specifically requested. The professional
version is no different than the free version in this respect.

Please post you OfficeDoc commands and Excel worksheet names
here (or email me directly) and I'll try to figure out the
problem.

Thanks,
Yair Altman
http://ymasoftware.com