Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Saving figures to Excel
Date: Tue, 18 Sep 2007 13:53:34 +0000 (UTC)
Organization: BAE Systems
Lines: 31
Message-ID: <fcol8u$jv7$1@fred.mathworks.com>
References: <fcmokg$n4l$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1190123614 20455 172.30.248.37 (18 Sep 2007 13:53:34 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 18 Sep 2007 13:53:34 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1043667
Xref: news.mathworks.com comp.soft-sys.matlab:429102



I tried the officedoc command
[file,status,errMsg] = officedoc
('tx_compare_rates.xls', 'open', 'mode','append');
status = officedoc(file,'write',rate2,'H1:P23',
[figsavemag '.fig']);

 and received the following error:
??? Error setting officedoc property '6 MHz':
Invalid field name: '6 mhz'.

Error in ==> tx_compare_rates at 135
status = officedoc(file,'write',rate2,'H1:P23',
[figsavemag '.fig']);

I want to write a bitmap or the .fig file to the H1 cell, 
to the rate2 sheet, where rate2 = '6 Mhz', and file









"Anthony " <anthony.campos@baesystems.com> wrote in message 
<fcmokg$n4l$1@fred.mathworks.com>...
> Is there a feature in MATLAB that will allow me to save a 
> figure to an Excel sheet, just like xlswrite where I give 
> it a cell to save it to