<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173763</link>
    <title>MATLAB Central Newsreader - using fsolve in embedded c++</title>
    <description>Feed for thread: using fsolve in embedded c++</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>Tue, 05 Aug 2008 05:49:01 -0400</pubDate>
      <title>using fsolve in embedded c++</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173763#447282</link>
      <author>Angelo Rossi</author>
      <description>Ok here it goes:&lt;br&gt;
&lt;br&gt;
I have a matlab script which uses fsolve to solve non linear&lt;br&gt;
equations. I want to integrate this script in my c++&lt;br&gt;
program. I have read and understood the reference guide to&lt;br&gt;
embed matlab in c++. However, the runtime of my c++ program&lt;br&gt;
stops when reaching the fsolve line because I believe is not&lt;br&gt;
part of the embedded functions that Matlab provides.&lt;br&gt;
Therefore I need to use eml.extrinsic. However, when I put&lt;br&gt;
eml.extrinsic('fsolve') in my matlab script and compile it&lt;br&gt;
again, I get this during the runtime of my c++ program:&lt;br&gt;
&lt;br&gt;
??? Undefined variable &quot;eml&quot; or class &quot;eml.extrinsic&quot;.&lt;br&gt;
&lt;br&gt;
Anybody can help me with this ? Am i missing something&lt;br&gt;
during compilation of matlab (mcc) or Visual Studio ?&lt;br&gt;
&lt;br&gt;
My matlab version is r2007b and eml.extrinsic package exists&lt;br&gt;
(typing eml.extrinsic in the matlab console confirms it).&lt;br&gt;
&lt;br&gt;
Thanks for any input</description>
    </item>
  </channel>
</rss>

