<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241084</link>
    <title>MATLAB Central Newsreader - Suppressing Command Window in Engine Applications</title>
    <description>Feed for thread: Suppressing Command Window in Engine Applications</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, 15 Dec 2008 20:36:02 -0500</pubDate>
      <title>Suppressing Command Window in Engine Applications</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241084#617236</link>
      <author>Arisa Onwuka</author>
      <description>Hello All,&lt;br&gt;
&lt;br&gt;
i am building MATLAB Engine Applicationsbut each time i execute my .exe files (compiled engine files), the command window comes up along with the graphs and figures that i plotted. &lt;br&gt;
&lt;br&gt;
Please can any one advise me on how to suppress this command window.&lt;br&gt;
&lt;br&gt;
Thanks</description>
    </item>
    <item>
      <pubDate>Mon, 15 Dec 2008 22:06:19 -0500</pubDate>
      <title>Re: Suppressing Command Window in Engine Applications</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241084#617251</link>
      <author>Ashish Uthama</author>
      <description>On Mon, 15 Dec 2008 15:36:02 -0500, Arisa Onwuka &amp;lt;onwuka.arisa@ieee.org&amp;gt;  &lt;br&gt;
wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; Hello All,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; i am building MATLAB Engine Applicationsbut each time i execute my .exe  &lt;br&gt;
&amp;gt; files (compiled engine files), the command window comes up along with  &lt;br&gt;
&amp;gt; the graphs and figures that i plotted.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Please can any one advise me on how to suppress this command window.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks&lt;br&gt;
&lt;br&gt;
This might be due to the application being compiled as a 'console' app.&lt;br&gt;
&lt;br&gt;
You could try building a non-console application (I do not know the  &lt;br&gt;
details) in visual studio outside MATLAB.&lt;br&gt;
Some info on compiling engine source code using visual studio:&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/support/solutions/data/1-78077S.html?solution=1-78077S&quot;&gt;http://www.mathworks.com/support/solutions/data/1-78077S.html?solution=1-78077S&lt;/a&gt;</description>
    </item>
    <item>
      <pubDate>Tue, 16 Dec 2008 09:17:03 -0500</pubDate>
      <title>Re: Suppressing Command Window in Engine Applications</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241084#617316</link>
      <author>James Tursa</author>
      <description>&quot;Arisa Onwuka&quot; &amp;lt;onwuka.arisa@ieee.org&amp;gt; wrote in message &amp;lt;gi6f3i$gq3$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello All,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; i am building MATLAB Engine Applicationsbut each time i execute my .exe files (compiled engine files), the command window comes up along with the graphs and figures that i plotted. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Please can any one advise me on how to suppress this command window.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks&lt;br&gt;
&lt;br&gt;
See the API function engSetVisible. For example, to make the command window invisible, do this:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;engSetVisible(ep, 0);&lt;br&gt;
&lt;br&gt;
where ep is the Engine pointer that has already been returned from engOpen.&lt;br&gt;
&lt;br&gt;
James Tursa</description>
    </item>
  </channel>
</rss>

