.m to .exe
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Walter Roberson
el 2 de Jun. de 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 comentarios
Más respuestas (4)
Image Analyst
el 3 de Jun. de 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 comentario
Walter Roberson
el 3 de Jun. de 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
el 7 de Jun. de 2011
1 comentario
Walter Roberson
el 7 de Jun. de 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.
Ver también
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!