I am using MATLAB Compiler 4.11 (R2009b) to compile my MATLAB file on a machine with the following specifications:
Operating System: Microsoft Windows XP x64 Version 5.2 (Build 3790: Service Pack 2)
Compiler: Microsoft Visual C++ 2008 Express
I am using the MCC command as follows:
mcc -mv test1234.m
However, I get the following error:
C:\PROGRA~1\MATLAB\R2009B\BIN\MEX.PL: Error: Compile of 'test1234_main.c' failed. Error: An error occurred while shelling out to mbuild (error code = 128). Unable to build executable. ??? Error using ==> mcc Error executing mcc, return status = 1 (0x1).
This issue occurs only on the machine mentioned above. I can compile the same MATLAB file without any errors on another machine.
Best Answer