MATLAB: Problems Compiling Matlab Code into Standalone

MATLABMATLAB Compiler

Complete Compiling-Newbie here… I have a MATLAB code that I would like to be able to run on computers w/o MATLAB. Unfortunately, using mcc -m Mycode.m doesn't seem to produce a stand alone program… Any ideas or help?

Best Answer

Hi,
some things to check:
  • I guess the compiler is installed, otherwise you would have got an error "unknown function mcc".
  • Has the compiler been set up? Run "mbuild -setup" to be sure.
  • Run "mcc -v -m Mycode". Does it produce warnings/errors that might help diagnose?
Titus