Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Suppressing Command Window in Engine Applications
Date: Tue, 16 Dec 2008 09:17:03 +0000 (UTC)
Organization: Boeing
Lines: 17
Message-ID: <gi7rmf$ooo$1@fred.mathworks.com>
References: <gi6f3i$gq3$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1229419023 25368 172.30.248.35 (16 Dec 2008 09:17:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 16 Dec 2008 09:17:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 756104
Xref: news.mathworks.com comp.soft-sys.matlab:507255


"Arisa Onwuka" <onwuka.arisa@ieee.org> wrote in message <gi6f3i$gq3$1@fred.mathworks.com>...
> Hello All,
> 
> 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. 
> 
> Please can any one advise me on how to suppress this command window.
> 
> Thanks

See the API function engSetVisible. For example, to make the command window invisible, do this:

    engSetVisible(ep, 0);

where ep is the Engine pointer that has already been returned from engOpen.

James Tursa