<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265184</link>
    <title>MATLAB Central Newsreader - Matlab &amp; C/c++ Interface</title>
    <description>Feed for thread: Matlab &amp; C/c++ Interface</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, 06 Nov 2009 15:38:01 -0500</pubDate>
      <title>Matlab &amp; C/c++ Interface</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265184#692708</link>
      <author>Suyog Tapaswi</author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
I want to access some functions/data from C or C++ into Matlab.&lt;br&gt;
So, is there any way apart fromthe Mex Files to do the interfacing with Matlab &amp; C/C++.&lt;br&gt;
Can you pls.give any suggestions.&lt;br&gt;
&lt;br&gt;
Thanks &amp; Regards,&lt;br&gt;
Suyog.</description>
    </item>
    <item>
      <pubDate>Fri, 06 Nov 2009 16:00:20 -0500</pubDate>
      <title>Re: Matlab &amp; C/c++ Interface</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265184#692713</link>
      <author>James Tursa</author>
      <description>&quot;Suyog Tapaswi&quot; &amp;lt;suyog.tapaswi@yahoo.com&amp;gt; wrote in message &amp;lt;hd1fsp$2h5$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I want to access some functions/data from C or C++ into Matlab.&lt;br&gt;
&amp;gt; So, is there any way apart fromthe Mex Files to do the interfacing with Matlab &amp; C/C++.&lt;br&gt;
&amp;gt; Can you pls.give any suggestions.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks &amp; Regards,&lt;br&gt;
&amp;gt; Suyog.&lt;br&gt;
&lt;br&gt;
Sure. You can write files out (mat or text or binary) in C/C++ and read them in on the MATLAB side. But what is wrong with the mex file approach?&lt;br&gt;
&lt;br&gt;
James Tursa</description>
    </item>
    <item>
      <pubDate>Fri, 06 Nov 2009 16:08:01 -0500</pubDate>
      <title>Re: Matlab &amp; C/c++ Interface</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265184#692715</link>
      <author>Suyog Tapaswi</author>
      <description>&quot;James Tursa&quot; &amp;lt;aclassyguy_with_a_k_not_a_c@hotmail.com&amp;gt; wrote in message &amp;lt;hd1h6k$pun$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Suyog Tapaswi&quot; &amp;lt;suyog.tapaswi@yahoo.com&amp;gt; wrote in message &amp;lt;hd1fsp$2h5$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hi,&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I want to access some functions/data from C or C++ into Matlab.&lt;br&gt;
&amp;gt; &amp;gt; So, is there any way apart fromthe Mex Files to do the interfacing with Matlab &amp; C/C++.&lt;br&gt;
&amp;gt; &amp;gt; Can you pls.give any suggestions.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thanks &amp; Regards,&lt;br&gt;
&amp;gt; &amp;gt; Suyog.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Sure. You can write files out (mat or text or binary) in C/C++ and read them in on the MATLAB side. But what is wrong with the mex file approach?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; James Tursa&lt;br&gt;
&lt;br&gt;
Hi,&lt;br&gt;
As per the site mex Files should be avoided as far as possible.&lt;br&gt;
So, trying to find out any possible alternative.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
Suyog.</description>
    </item>
    <item>
      <pubDate>Fri, 06 Nov 2009 19:30:19 -0500</pubDate>
      <title>Re: Matlab &amp; C/c++ Interface</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265184#692757</link>
      <author>James Tursa</author>
      <description>&quot;Suyog Tapaswi&quot; &amp;lt;suyog.tapaswi@yahoo.com&amp;gt; wrote in message &amp;lt;hd1hl1$pci$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;James Tursa&quot; &amp;lt;aclassyguy_with_a_k_not_a_c@hotmail.com&amp;gt; wrote in message &amp;lt;hd1h6k$pun$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &quot;Suyog Tapaswi&quot; &amp;lt;suyog.tapaswi@yahoo.com&amp;gt; wrote in message &amp;lt;hd1fsp$2h5$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Hi,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I want to access some functions/data from C or C++ into Matlab.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; So, is there any way apart fromthe Mex Files to do the interfacing with Matlab &amp; C/C++.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Can you pls.give any suggestions.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Thanks &amp; Regards,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Suyog.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Sure. You can write files out (mat or text or binary) in C/C++ and read them in on the MATLAB side. But what is wrong with the mex file approach?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; James Tursa&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt; As per the site mex Files should be avoided as far as possible.&lt;br&gt;
&amp;gt; So, trying to find out any possible alternative.&lt;br&gt;
&lt;br&gt;
Huh? Can you point me to the link that says mex files should be avoided? I use them all the time and they work fine, as long as one knows how to code properly.&lt;br&gt;
&lt;br&gt;
James Tursa</description>
    </item>
    <item>
      <pubDate>Mon, 09 Nov 2009 16:49:02 -0500</pubDate>
      <title>Re: Matlab &amp; C/c++ Interface</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265184#693259</link>
      <author>Suyog Tapaswi</author>
      <description>&quot;James Tursa&quot; &amp;lt;aclassyguy_with_a_k_not_a_c@hotmail.com&amp;gt; wrote in message &amp;lt;hd1tgb$iid$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Suyog Tapaswi&quot; &amp;lt;suyog.tapaswi@yahoo.com&amp;gt; wrote in message &amp;lt;hd1hl1$pci$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &quot;James Tursa&quot; &amp;lt;aclassyguy_with_a_k_not_a_c@hotmail.com&amp;gt; wrote in message &amp;lt;hd1h6k$pun$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &quot;Suyog Tapaswi&quot; &amp;lt;suyog.tapaswi@yahoo.com&amp;gt; wrote in message &amp;lt;hd1fsp$2h5$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hi,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I want to access some functions/data from C or C++ into Matlab.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; So, is there any way apart fromthe Mex Files to do the interfacing with Matlab &amp; C/C++.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Can you pls.give any suggestions.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks &amp; Regards,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Suyog.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Sure. You can write files out (mat or text or binary) in C/C++ and read them in on the MATLAB side. But what is wrong with the mex file approach?&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; James Tursa&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Hi,&lt;br&gt;
&amp;gt; &amp;gt; As per the site mex Files should be avoided as far as possible.&lt;br&gt;
&amp;gt; &amp;gt; So, trying to find out any possible alternative.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Huh? Can you point me to the link that says mex files should be avoided? I use them all the time and they work fine, as long as one knows how to code properly.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; James Tursa&lt;br&gt;
&lt;br&gt;
Hi James,&lt;br&gt;
The data which i will be acessing is dynamically changing. it contains some kind of Time Series Data. So, how do i handle this with mex files?&lt;br&gt;
Do, i have to change the code everytime the data changes..&lt;br&gt;
&lt;br&gt;
Regards </description>
    </item>
  </channel>
</rss>

