### Tags: applications, compile, dear, exe, file, files, fromsome, generate, genericcomputer, matlab, order, programming, run, sp2, stand-alone, windows

# compile Stand-alone applications

On Programmer » Matlab

3,969 words with 4 Comments; publish: Tue, 29 Apr 2008 00:13:00 GMT; (20046.88, « »)

Dear all,

I would like to generate a stand-alone .exe file from

some .m files, in order to be able to run it in a generic

computer with Windows XP sp2.

I recognise that I'm lost at this time, so I would be

grateful if anyone can tell me how to do it.

Thnk you very much in advance.

Best regadrs to everyone.

*http://matlab.todaysummary.com/q_matlab_9067.html*

All Comments

Leave a comment...

- 4 Comments
- "Rafael Salavera" <rafasalavera.matlab.todaysummary.com.gmail.com> wrote in message
<fq3mj7$nrs$1.matlab.todaysummary.com.fred.mathworks.com>...

> Dear all,

> I would like to generate a stand-alone .exe file from

> some .m files, in order to be able to run it in a generic

> computer with Windows XP sp2.

> I recognise that I'm lost at this time, so I would be

> grateful if anyone can tell me how to do it.

> Thnk you very much in advance.

> Best regadrs to everyone.

>

The Mathworks produces a Matlab compiler for doing exactly

this operation. However note that it is very expensive cash

wise, and also requires the target computer to have a very

large file installed on it prior to the exe file being able

to work.

The only other way I know of doing it is manually

translating the Matlab program into another high level

language (e.g. C++) and compiling that - if you are using

any relatively complex mathematics, then this operation is

far from trivial.

Regards

Dave Robinson

#1; Tue, 29 Apr 2008 00:15:00 GMT

- "Rafael Salavera" <rafasalavera.matlab.todaysummary.com.gmail.com> wrote in message
- "Rafael Salavera" <rafasalavera.matlab.todaysummary.com.gmail.com> wrote in
message <fq3mj7$nrs$1.matlab.todaysummary.com.fred.mathworks.com>...

> Dear all,

> I would like to generate a stand-alone .exe file from

> some .m files, in order to be able to run it in a

generic

> computer with Windows XP sp2.

>

You require Matlab Compiler

http://www.mathworks.com/products/compiler/?BB=1

Vihang

#2; Tue, 29 Apr 2008 00:16:00 GMT

- "Rafael Salavera" <rafasalavera.matlab.todaysummary.com.gmail.com> wrote in
- "Dave Robinson" <dave.robinson.matlab.todaysummary.com.somewhere.biz> wrote in news:fq3o5q$1kk$1
.matlab.todaysummary.com.fred.mathworks.com:

> "Rafael Salavera" <rafasalavera.matlab.todaysummary.com.gmail.com> wrote in message

> <fq3mj7$nrs$1.matlab.todaysummary.com.fred.mathworks.com>...

> The Mathworks produces a Matlab compiler for doing exactly

> this operation. However note that it is very expensive cash

> wise, and also requires the target computer to have a very

> large file installed on it prior to the exe file being able

> to work.

> The only other way I know of doing it is manually

> translating the Matlab program into another high level

> language (e.g. C++) and compiling that - if you are using

> any relatively complex mathematics, then this operation is

> far from trivial.

> Regards

> Dave Robinson

>

I don't make stand-alone apps, but maybe you can do it with

SciLab? www.scilab.org

Tom

#3; Tue, 29 Apr 2008 00:17:00 GMT

- "Dave Robinson" <dave.robinson.matlab.todaysummary.com.somewhere.biz> wrote in news:fq3o5q$1kk$1
- Thank you very much to everybody. I'll try all your posted
solutions... I'll tell you.

Best reagrds to everybody

Tom <tcantwell.matlab.todaysummary.com.copper.net> wrote in message

<Xns9A515B0464413tcantwellcoppernet.matlab.todaysummary.com.216.196.97.142>...

> "Dave Robinson" <dave.robinson.matlab.todaysummary.com.somewhere.biz> wrote in

news:fq3o5q$1kk$1

> .matlab.todaysummary.com.fred.mathworks.com:

>

message

generic

exactly

cash

very

able

using

is

> I don't make stand-alone apps, but maybe you can do it

with

> SciLab? www.scilab.org

> Tom

#4; Tue, 29 Apr 2008 00:18:00 GMT

- Thank you very much to everybody. I'll try all your posted