Path: news.mathworks.com!not-for-mail
From: "Phil Goddard" <philgoddardNOSPAM@telus.net>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Writing images into Excel file
Date: Mon, 14 Apr 2008 18:20:19 +0000 (UTC)
Organization: Goddard Consulting
Lines: 19
Message-ID: <fu0793$54h$1@fred.mathworks.com>
References: <ftvm9d$idk$1@fred.mathworks.com>
Reply-To: "Phil Goddard" <philgoddardNOSPAM@telus.net>
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 1208197219 5265 172.30.248.35 (14 Apr 2008 18:20:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 14 Apr 2008 18:20:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 26433
Xref: news.mathworks.com comp.soft-sys.matlab:462908



xlswrite won't do it for you, but you can do pretty much 
anything to an Excel spreadsheet from within MATLAB by 
opening a COM connection.
Have a look at
>> doc actxserver
for info on opening such a connection.

From there you need to know the appropriate ActiveX methods 
to create and insert the image.
That is not trivial and will take some trial and error.

A good start is to do the image insertion manually from 
within Excel while recording your steps as a macro.
Then look at the macro to see the types of commands that 
you'll need to use from within MATLAB to do it 
automatically.

Phil.