Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: eps files into word2007
Date: Sun, 2 Sep 2007 13:40:35 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 31
Message-ID: <fbeegj$gvp$1@fred.mathworks.com>
References: <fbcv7k$du1$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 1188740435 17401 172.30.248.38 (2 Sep 2007 13:40:35 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 2 Sep 2007 13:40:35 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: news.mathworks.com comp.soft-sys.matlab:426662



"Anthony Silva" <antonio378@gmail.com> wrote in message
<fbcv7k$du1$1@fred.mathworks.com>...
> Hi,
> 
> I need to use some graphs created on MATLAB in my word
> document. At the moment I'm using word 2007 because I need
> some features that word 2003 do not have.
> First I export MATLAB graphics into *.emf but the print
> quality in word is very poor... Then I export into *.eps and
> insert it into word. Therefore, I need to convert the *.doc
> into *.pdf because eps needs a postscript printer. However,
> when I do it, an error occurs and pdf file is not created.
> I've tried with word 2003 and all went fine. This, I think
> it is a eps/word2007 issue, but I don't know how to solve it.
> 
> Any idea to solve it? Either for using the eps files that
> I've created or to insert MATLAB graphs (on another format
> besides eps) in word without resulting in poor quality prints?
> Thanks


Try using my officedoc submission:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15192

[file,status]=officedoc('myfile.doc','open','mode','append');
officedoc(file, 'write', 'title','My data', 'image',gcf);
officedoc(file, 'close');

Yair Altman
http://ymasoftware.com