converting *.m file to *.exe files

March 11, 2011 at 01:05:25
Specs: Windows XP
am doing my final year project "conversion of matlab files to simulink" as my part of the curriculum.i need to know how to convert the .m files to .exe files first....then only i can proceed my project.can anyone help me.

See More: converting *.m file to *.exe files

Report •

March 11, 2011 at 01:39:07
Hi, I found this for you to look at, hope it helps?
You can use a Matlab compiler (for example version 4.6) to do that. If you
already have a Matlab comppiler, you can use command mcc -m -v xxxx.m, where
xxxx.m is your Matlab program filename. Then once the above command is
completed, copy the produced xxxx.exe along with a xxxx.ctl to the target
computer where your exe file to be executed. You can just run xxxx.exe on Dos
command window. If the target computer doesn't have a Matlab, you first need to
run MCRInstaller.exe (Matlab compiler provided) once on it to install Matlab
runtime component, then later you can just copy your Matlab compiler produced
.exe and .ctl files to it and run it. You don't need to run MCRInstaller.exe
every time you copy .exe and .ctl files to it.

Report •

March 11, 2011 at 01:47:32
actually my compiler version is 4.4 sir...

wat to do...

"Error executing mcc, return status = 1".this is the error i got...

Report •

March 11, 2011 at 01:54:42
Try on this forum its a dedicated Matlab site.

Report •

Related Solutions

March 11, 2011 at 02:03:37
sir ...

i don understand anything from that

Report •

Ask Question