.m to .exe
6 views (last 30 days)
Show older comments
I am willing to convert *.M file (basically a GUI) in *.EXE file. I am using matlab R2009a, I didn't get any complier in mbuild. I did some work on it, now i have VS2008 and MCR installed in my system. Before proceeding I just came here to as you how to do so? Is there any role of VS2008 o just MCR can do it?
P.S: I am using win7 Home Premium 64 bit.
0 Comments
Accepted Answer
Walter Roberson
on 2 Jun 2011
The supported compilers are shown here. Please especially note footnote 6, which leads you to this important solution for 64 bit use.
MCR is not a compiler: it is part of the run-time for the executable.
0 Comments
More Answers (4)
Image Analyst
on 3 Jun 2011
You can choose the VS2008 compiler. You just pick it when you do "mbuild -setup"
You need to run mbuild -setup whenever you install a new version of MATLAB or install additional compilers, such as VS2008.
1 Comment
Walter Roberson
on 3 Jun 2011
Notice he is using Windows 64: for that you have to go through a two-step installation process in order to get the 64 bit compilers. The description of the process is linked to in my answer.
muhammad usama
on 7 Jun 2011
1 Comment
Walter Roberson
on 7 Jun 2011
Okay, those are warnings not errors. You can now proceed to build your mex. Note that you might have problems if the code was written expecting 32 bit windows.
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!