<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252755</link>
    <title>MATLAB Central Newsreader - Matlab engine</title>
    <description>Feed for thread: Matlab engine</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, 02 Jun 2009 22:47:02 -0400</pubDate>
      <title>Matlab engine</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252755#654207</link>
      <author>Markus Buehren</author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
I am starting to work with the Matlab engine, i.e. calling Matlab from a C program.&lt;br&gt;
&lt;br&gt;
How can I find out in Matlab if it is started by &quot;engOpen&quot; or not? I need this information, because in my startup.m, a question dialog is opened (asking me which project I want to work on) waiting for me clicking a button. This dialog pops up when starting Matlab normally as well as when calling engOpen.&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
Markus</description>
    </item>
    <item>
      <pubDate>Wed, 03 Jun 2009 08:56:26 -0400</pubDate>
      <title>Re: Matlab engine</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252755#654288</link>
      <author>tristram.scott@ntlworld.com (Tristram Scott)</author>
      <description>Markus Buehren &amp;lt;mb_matlab.REMOVE@gmxthis.de&amp;gt; wrote:&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am starting to work with the Matlab engine, i.e. calling Matlab from a&lt;br&gt;
C program.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; How can I find out in Matlab if it is started by &quot;engOpen&quot; or not? I need&lt;br&gt;
this information, because in my startup.m, a question dialog is opened&lt;br&gt;
(asking me which project I want to work on) waiting for me clicking a&lt;br&gt;
button. This dialog pops up when starting Matlab normally as well as when&lt;br&gt;
calling engOpen.&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Which platform are you running on?  I am not sure about the Windows&lt;br&gt;
implemenmtation, but on all Unix platforms the engine is essentially a&lt;br&gt;
wrapper around a standard MATLAB, and there really is no difference.  It&lt;br&gt;
simply takes care of stdin and stdout for you.&lt;br&gt;
&lt;br&gt;
Perhaps the simplest thing would be to modify your startup.m.  Maybe you&lt;br&gt;
could invoke the project dialog manually if required.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Dr Tristram J. Scott               &lt;br&gt;
Energy Consultant                  </description>
    </item>
    <item>
      <pubDate>Wed, 03 Jun 2009 11:10:02 -0400</pubDate>
      <title>Re: Matlab engine</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252755#654309</link>
      <author>Markus Buehren</author>
      <description>Hi Scott, thanks for your answer. I was hoping that there is some mechanism like the function &quot;isdeployed&quot; which returns one if application generated by the Matlab compiler is started...&lt;br&gt;
&lt;br&gt;
Markus&lt;br&gt;
&lt;br&gt;
&amp;gt; Which platform are you running on?  I am not sure about the Windows&lt;br&gt;
&amp;gt; implemenmtation, but on all Unix platforms the engine is essentially a&lt;br&gt;
&amp;gt; wrapper around a standard MATLAB, and there really is no difference.  It&lt;br&gt;
&amp;gt; simply takes care of stdin and stdout for you.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Perhaps the simplest thing would be to modify your startup.m.  Maybe you&lt;br&gt;
&amp;gt; could invoke the project dialog manually if required.</description>
    </item>
  </channel>
</rss>

