Prev: how to use textscan in a for loop with header lines increasingat each iteration
Next: How to interpolate the coordinates of a vector on an image usingmatlab?
From: David Stanley on 1 Mar 2010 14:31 Hi Everyone, I have created a matlab GUI for my program and would like to deploy it as a stand alone application for Windows. - Unfortunately, a DOS window appears when I use the Deploytool to do this. Is there a way I can create a standalone windows version that doesn't have this DOS window come up? - As it stands, the DOS window look sufficiently unprofessional that I'll have to look into an alternative development platform if I can't suppress it. I figure there must be a way (even if I have to start importing things into Visual Studio), but, I really don't have any idea to proceed (especially if I have to import things into Visual Studio). Can any of the MatLab wizards out there help? - Thanks! Cheers, David -p.s. I'm using MatLab 7.6.0.324 (R2008a) on Windows XP Professional
From: Michal on 21 Mar 2010 16:46 Hi, I think you should use some Microsoft Visual Studio Compiler to compile your application. Look at Matlab Compiler 4 User's Guide documentation at page 5-35. I hope it can help you. Mike
From: Mark Ainscow on 30 Mar 2010 11:40 Hi David, When you open Deploytool, it asks you to select a target. It sounds like you selected either "Standalone" or "Console" application as your target. Select "Windows Standalone" and compile. This should suppress the DOS box when your application runs. Mark "David Stanley" <dstanley(a)uoguelph.ca.remove.this> wrote in message <hmh4ls$4ir$1(a)fred.mathworks.com>... > Hi Everyone, > I have created a matlab GUI for my program and would like to deploy it as a stand alone application for Windows. > - > Unfortunately, a DOS window appears when I use the Deploytool to do this. Is there a way I can create a standalone windows version that doesn't have this DOS window come up? > - > As it stands, the DOS window look sufficiently unprofessional that I'll have to look into an alternative development platform if I can't suppress it. I figure there must be a way (even if I have to start importing things into Visual Studio), but, I really don't have any idea to proceed (especially if I have to import things into Visual Studio). Can any of the MatLab wizards out there help? > - > Thanks! > Cheers, > David > -p.s. I'm using MatLab 7.6.0.324 (R2008a) on Windows XP Professional
From: ImageAnalyst on 30 Mar 2010 12:09
David: There's a compile option to suppress that window. I think it used to be "-e" but with R2010a, -e doesn't seem to have the same description anymore. But I think you could do mcc -m -e mymfile.m But you could call the Mathworks. They have a special team for compiler issues. Get a list of the options by doing mcc -? |