<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240089</link>
    <title>MATLAB Central Newsreader - Create .mat file in cpp</title>
    <description>Feed for thread: Create .mat file in cpp</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>Fri, 28 Nov 2008 21:15:01 -0500</pubDate>
      <title>Create .mat file in cpp</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240089#613779</link>
      <author>csordaspepe@gmail.com</author>
      <description>hi!&lt;br&gt;
&lt;br&gt;
I would  to create .mat files in c++.&lt;br&gt;
Can somebody help me?</description>
    </item>
    <item>
      <pubDate>Fri, 28 Nov 2008 21:54:03 -0500</pubDate>
      <title>Re: Create .mat file in cpp</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240089#613782</link>
      <author>Ryan Ollos</author>
      <description>csordaspepe@gmail.com wrote in message &amp;lt;216bd2da-460d-4adc-a0eb-7007925c600e@j11g2000yqg.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; hi!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I would  to create .mat files in c++.&lt;br&gt;
&amp;gt; Can somebody help me?&lt;br&gt;
&lt;br&gt;
Have you looked at the matOpen and matPutVariable functions in the External Interfaces reference?  There are examples and links to other relevant functions from there.&lt;br&gt;
&lt;br&gt;
The data you are writing has to be allocated as an mxArray, so it seems like there would be little difference in whether you are working with C or C++.</description>
    </item>
  </channel>
</rss>

