# Thread Subject: executable file

 Subject: executable file From: Frank Date: 6 Nov, 2012 02:32:09 Message: 1 of 5 Hello, I have a script file, test.m, which calls another matlab function, cal.m and some built-in matlab functions, e.g. svd, inv. Now, I would like to generate an executable file, test.exe, to run in Windows. How can I do that? Thanks. Frank
 Subject: executable file From: Nasser M. Abbasi Date: 6 Nov, 2012 03:01:29 Message: 2 of 5 On 11/5/2012 8:32 PM, Frank wrote: > Hello, > > I have a script file, test.m, which calls another matlab function, cal.m and some >built-in matlab functions, e.g. svd, inv. > > Now, I would like to generate an executable file, test.exe, to run in Windows. > > How can I do that? > http://www.mathworks.com/products/compiler/ "MATLAB Compiler™ lets you share your MATLAB® application as an executable or a shared library"
 Subject: executable file From: Frank Date: 6 Nov, 2012 03:38:09 Message: 3 of 5 I used deploytool but I got the following message Attempt to execute SCRIPT warning as a function: C:\Program Files\Matlab\R2012a\toolbox\compiler\mcr\matlab\lang\warning.m Error in matlabrc (line 212) warning('MATLAB:matlabrc:Startup',... Unknown exception How to proceed? Thanks. "Nasser M. Abbasi" wrote in message ... > On 11/5/2012 8:32 PM, Frank wrote: > > Hello, > > > > I have a script file, test.m, which calls another matlab function, cal.m and some > >built-in matlab functions, e.g. svd, inv. > > > > Now, I would like to generate an executable file, test.exe, to run in Windows. > > > > How can I do that? > > > > > http://www.mathworks.com/products/compiler/ > > "MATLAB Compiler™ lets you share your MATLAB® application as an executable or a shared library" > >
 Subject: executable file From: Frank Date: 6 Nov, 2012 07:51:07 Message: 4 of 5 Hello, can anyone help? Thanks a lot.
 Subject: executable file From: Steven_Lord Date: 6 Nov, 2012 14:38:07 Message: 5 of 5 "Frank " wrote in message news:k7afhb\$a49\$1@newscl01ah.mathworks.com... > Hello, can anyone help? > > Thanks a lot. Make sure the directories under the MCR are NOT, repeat NOT on your path. In particular, I don't believe any of the directories whose paths start with: C:\Program Files\Matlab\R2012a\toolbox\compiler\mcr\ should be there. If removing those directories from the path (DON'T delete them, just remove them from the path using the PATHTOOL) doesnt work, contact Technical Support using the instructions in my signature. -- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com

## Tags for this Thread

### Add a New Tag:

Separated by commas
Ex.: root locus, bode

### What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
exe Frank 5 Nov, 2012 21:34:13
Feed for this Thread