October 14th, 2004, 7:37 am
The Matlab compiler produces executables from m-code. In my experience its mainbenefit is not speed improvement but solving the redistribution issue.Speed improvements are normally very modest, depending on code. You will almost always achieve better speed coding directly in C++, except for caseswhere your C++ code cannot keep up with Matlab's highly-optimized array-routines.Also do not expect that you will see a neat translation of your m-code(and depending Matlab commands called from within) to C++ by using thecompiler. You will get code that is good for compiling but not for directlyusing it.HTH,Hans-Marc