Stand Alone Code from Matlab.m
Mostrar comentarios más antiguos
I have compiled Mycode.exe from my matlab code and I want to run it on a computer that doesn't have Matlab. Is there anyway to make a stand-alone code that doesn't require me to load MCR on my other systems? I am using Windows on them all but some have XP, some have 2000, some have 7... Ideas?
Respuesta aceptada
Más respuestas (2)
Daniel Shub
el 23 de Nov. de 2011
0 votos
To run compiled MATLAB you must have the MCR. It is a lot like running a java or flash application in that you need the computer to have the runtime environment installed.
If some machines are 32 bit and others are 64 bit, you will need to compile two versions. You may also have to compile different versions for Windows 2000, XP, and 7, since I do not think there is a single version of MATLAB that works on all of them. This may not be a problem.
1 comentario
John Ogren
el 23 de Nov. de 2011
Walter Roberson
el 23 de Nov. de 2011
0 votos
There is MATLAB Coder, which will generate C / C++ code from MATLAB code, with a number of restrictions.
deploytool from MATLAB Compiler can bundle up MCR as part of the self-extracting archive, but that is just a more convenient way of installing MCR.
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!