Path: news.mathworks.com!not-for-mail
From: "Vihang Patil" <vihang_patil@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Standalone too slow !!
Date: Wed, 19 Mar 2008 08:31:03 +0000 (UTC)
Organization: Konem Solutions
Lines: 42
Message-ID: <frqj07$48m$1@fred.mathworks.com>
References: <frovg3$lnt$1@fred.mathworks.com>
Reply-To: "Vihang Patil" <vihang_patil@yahoo.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1205915463 4374 172.30.248.38 (19 Mar 2008 08:31:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 19 Mar 2008 08:31:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 413701
Xref: news.mathworks.com comp.soft-sys.matlab:457991


"Blueblood Kingroyale" <edproject.cec@gmail.com> wrote in 
message <frovg3$lnt$1@fred.mathworks.com>...
> Hi,
> 
> I'm a novice Matlab user and currently doing a  voice
> recognition project in which I have made use of one or 
two
> GUIs as well. 
> The trouble is that when I create the standalone(.exe) 
out
> of my .m files using "mcc" the resulting application is
> performing V E R Y  S-l-o-w-l-y... what can I do to fix 
this? 
> Any code optimizing techniques would be welcome.
> 
> (As an aside - somebody please tell me how I can have the
> DOS prompt window NOT to be displayed whenever I run the
> standalone (.exe ))
> 
> Yours Truly,
> 
> Blueblood

Hello
1. Compiling the application wont effect in faster speed. 
You will get the same speed in the compiled application  
and as well as in the MATLAB environment. Were you getting 
satisfactory results running your application in the 
MATLAB environment?
2. You can either use this functionality to suppress your 
DOS command window 
http://www.mathworks.com/matlabcentral/fileexchange/loadFil
e.do?objectId=3909&objectType=file

or try this

http://www.mathworks.com/matlabcentral/newsreader/view_thre
ad/129018#332703

HTH
Vihang