From: Zia on
Hi,

I have a question regarding, making of stand alone exe. I am currently working on big simulation that contains many m-files, simulink model containg s-functions and the s-funtions are developed using c files and GUIDE. On GUIDE i have created a main screen with push buttons and drop down menues to control everything. Now i want to make a stand alone exe out of it. Can anybody help me in this regard. I have read matlab help files related to making stand alone exe using Matlab Compiler, but it gives example only using 1 mfile. Can anybody give me some idea how can i buid a stand alone exe from a mixture of files? Or any book reference or any example. Anything that can help me.

Thanks in advance.

Regards!
From: Steven Lord on

"Zia " <ziagemini(a)hotmail.com> wrote in message
news:hrc35k$9e2$1(a)fred.mathworks.com...
> Hi,
>
> I have a question regarding, making of stand alone exe. I am currently
> working on big simulation that contains many m-files, simulink model
> containg s-functions and the s-funtions are developed using c files and
> GUIDE. On GUIDE i have created a main screen with push buttons and drop
> down menues to control everything. Now i want to make a stand alone exe
> out of it. Can anybody help me in this regard. I have read matlab help
> files related to making stand alone exe using Matlab Compiler, but it
> gives example only using 1 mfile. Can anybody give me some idea how can i
> buid a stand alone exe from a mixture of files? Or any book reference or
> any example. Anything that can help me.

To make a standalone executable out of mulitple MATLAB functions, just
include them all when you compile. However, since you indicate you're also
working with Simulink models, you will need to take a slightly different
approach.

http://www.mathworks.com/support/solutions/en/data/1-27DUK5/?solution=1-27DUK5

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


From: Zia on
Steve,

Thanks for the reply and its really very helpfull. But i have a small problem My model is taking all the inputs from excel sheet. even the simulation stop time. So when i try to build the model it gives error that it don't recognize the stop time. Any solution how can i confront that?

Regards!