<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/156312</link>
    <title>MATLAB Central Newsreader - Saving figures to Excel</title>
    <description>Feed for thread: Saving figures to Excel</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 17 Sep 2007 20:38:40 -0400</pubDate>
      <title>Saving figures to Excel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/156312#392762</link>
      <author>Anthony </author>
      <description>Is there a feature in MATLAB that will allow me to save a &lt;br&gt;
figure to an Excel sheet, just like xlswrite where I give &lt;br&gt;
it a cell to save it to</description>
    </item>
    <item>
      <pubDate>Mon, 17 Sep 2007 20:55:31 -0400</pubDate>
      <title>Re: Saving figures to Excel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/156312#392768</link>
      <author>Yair Altman</author>
      <description>&quot;Anthony &quot; &amp;lt;anthony.campos@baesystems.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fcmokg$n4l$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Is there a feature in MATLAB that will allow me to save a &lt;br&gt;
&amp;gt; figure to an Excel sheet, just like xlswrite where I give &lt;br&gt;
&amp;gt; it a cell to save it to&lt;br&gt;
&lt;br&gt;
Use OfficeDoc on the file Exchange:&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15192&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=15192&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Yair Altman&lt;br&gt;
&lt;a href=&quot;http://ymasoftware.com&quot;&gt;http://ymasoftware.com&lt;/a&gt;</description>
    </item>
    <item>
      <pubDate>Tue, 18 Sep 2007 13:53:34 -0400</pubDate>
      <title>Re: Saving figures to Excel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/156312#392882</link>
      <author>Anthony </author>
      <description>I tried the officedoc command&lt;br&gt;
[file,status,errMsg] = officedoc&lt;br&gt;
('tx_compare_rates.xls', 'open', 'mode','append');&lt;br&gt;
status = officedoc(file,'write',rate2,'H1:P23',&lt;br&gt;
[figsavemag '.fig']);&lt;br&gt;
&lt;br&gt;
&amp;nbsp;and received the following error:&lt;br&gt;
??? Error setting officedoc property '6 MHz':&lt;br&gt;
Invalid field name: '6 mhz'.&lt;br&gt;
&lt;br&gt;
Error in ==&amp;gt; tx_compare_rates at 135&lt;br&gt;
status = officedoc(file,'write',rate2,'H1:P23',&lt;br&gt;
[figsavemag '.fig']);&lt;br&gt;
&lt;br&gt;
I want to write a bitmap or the .fig file to the H1 cell, &lt;br&gt;
to the rate2 sheet, where rate2 = '6 Mhz', and file&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Anthony &quot; &amp;lt;anthony.campos@baesystems.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;fcmokg$n4l$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Is there a feature in MATLAB that will allow me to save a &lt;br&gt;
&amp;gt; figure to an Excel sheet, just like xlswrite where I give &lt;br&gt;
&amp;gt; it a cell to save it to</description>
    </item>
    <item>
      <pubDate>Tue, 18 Sep 2007 18:47:26 -0400</pubDate>
      <title>Re: Saving figures to Excel</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/156312#392953</link>
      <author>Yair Altman</author>
      <description>&amp;gt; status = officedoc(file,'write',rate2,'H1:P23',[figsavemag&lt;br&gt;
'.fig']);&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;  and received the following error:&lt;br&gt;
&amp;gt; ??? Error setting officedoc property '6 MHz':&lt;br&gt;
&amp;gt; Invalid field name: '6 mhz'.&lt;br&gt;
&lt;br&gt;
Following 'write', you need to specify properties in&lt;br&gt;
name-value (P-V) pairs. In your case:&lt;br&gt;
&lt;br&gt;
status=officedoc(file,'write','sheet',rate2,'range','H1:P23','image',myImage);&lt;br&gt;
&lt;br&gt;
the supplied myImage parameter may be an image filename or a&lt;br&gt;
handle to a Matlab figure.&lt;br&gt;
&lt;br&gt;
Yair Altman&lt;br&gt;
&lt;a href=&quot;http://ymasoftware.com&quot;&gt;http://ymasoftware.com&lt;/a&gt;</description>
    </item>
  </channel>
</rss>

