<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240245</link>
    <title>MATLAB Central Newsreader - Calling MATLAB from FORTRAN</title>
    <description>Feed for thread: Calling MATLAB from FORTRAN</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, 01 Dec 2008 22:34:29 -0500</pubDate>
      <title>Calling MATLAB from FORTRAN</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240245#614308</link>
      <author>Vernal</author>
      <description>I am trying call MATLAB from FORTRAN to plot data. I am using MSVS&lt;br&gt;
2008 with Intel FORTRAN 10.1.024. My question is what files, modules,&lt;br&gt;
or libraries need to be included in the FORTRAN project to recognize&lt;br&gt;
the MATLAB engine functions (e.g. engOpen, engEvalString, etc...) Any&lt;br&gt;
help would be appreciated.&lt;br&gt;
&lt;br&gt;
&amp;nbsp;- Kevin</description>
    </item>
    <item>
      <pubDate>Mon, 01 Dec 2008 22:56:02 -0500</pubDate>
      <title>Re: Calling MATLAB from FORTRAN</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240245#614313</link>
      <author>Jiro Doke</author>
      <description>Vernal &amp;lt;kveenstra@gmail.com&amp;gt; wrote in message &amp;lt;0acd22ad-dbf9-4a1f-9cf5-6cccdf3a376e@y18g2000yqn.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; I am trying call MATLAB from FORTRAN to plot data. I am using MSVS&lt;br&gt;
&amp;gt; 2008 with Intel FORTRAN 10.1.024. My question is what files, modules,&lt;br&gt;
&amp;gt; or libraries need to be included in the FORTRAN project to recognize&lt;br&gt;
&amp;gt; the MATLAB engine functions (e.g. engOpen, engEvalString, etc...) Any&lt;br&gt;
&amp;gt; help would be appreciated.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;  - Kevin&lt;br&gt;
&lt;br&gt;
I would check out this page:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f38569.html&quot;&gt;http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f38569.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
jiro</description>
    </item>
    <item>
      <pubDate>Mon, 01 Dec 2008 23:03:02 -0500</pubDate>
      <title>Re: Calling MATLAB from FORTRAN</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240245#614315</link>
      <author>James Tursa</author>
      <description>Vernal &amp;lt;kveenstra@gmail.com&amp;gt; wrote in message &amp;lt;0acd22ad-dbf9-4a1f-9cf5-6cccdf3a376e@y18g2000yqn.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; I am trying call MATLAB from FORTRAN to plot data. I am using MSVS&lt;br&gt;
&amp;gt; 2008 with Intel FORTRAN 10.1.024. My question is what files, modules,&lt;br&gt;
&amp;gt; or libraries need to be included in the FORTRAN project to recognize&lt;br&gt;
&amp;gt; the MATLAB engine functions (e.g. engOpen, engEvalString, etc...) Any&lt;br&gt;
&amp;gt; help would be appreciated.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;  - Kevin&lt;br&gt;
&lt;br&gt;
Be sure to have this line at the top of your code (curiously missing from the doc descriptions of the Fortran API functions):&lt;br&gt;
&lt;br&gt;
#include &quot;fintrf.h&quot;&lt;br&gt;
&lt;br&gt;
Then just follow the instructions for compiling an engine app using the mex command. You don't need to manually include anything for the eng functions, the mex command will link it in for you.&lt;br&gt;
&lt;br&gt;
James Tursa</description>
    </item>
  </channel>
</rss>

