Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Standalone real windows program by MATLAB
Date: Mon, 4 May 2009 12:40:19 +0000 (UTC)
Organization: The MathWorks Inc
Lines: 8
Message-ID: <gtmnnj$n5s$1@fred.mathworks.com>
References: <gtj8td$pp0$1@fred.mathworks.com> <gtln89$5d6$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 1241440819 23740 172.30.248.35 (4 May 2009 12:40:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 4 May 2009 12:40:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869871
Xref: news.mathworks.com comp.soft-sys.matlab:537214


"Bindubritta Acharjee" <bindubritta@hotmail.com> wrote in message <gtln89$5d6$1@fred.mathworks.com>...
> Yesterday I installed Microsoft Visual Studio 2008 and then run 'mbuild -setup' again in MATLAB. MATLAB sourced the Microsoft Visual C++ 2008 and I set it as default compiler. Using 'Standalone Application' I compile the magicexample.m file and got the DOS exe file as previous. Using 'Windows Standalone Application' I got also an .exe file though, but it worked nothing, it did not show any response even.
> 
> Please help me to solve this.

Have you tried building "Windows Standalone Application" for your reminder application? The behavior you saw for "magicexample" is expected. It's a function that takes input and just returns an output, so it opened and closed as soon as it finished. An application with a GUI will remain open.

You should design your app so that when you run it, you can run without any input argument. If you require input arguments, incorporate within your GUI application, use a file, or specify it in the application property in Windows.