Why do I receive an error "Error: An error occurred while shelling out to mbuild (error code = 128)" when compiling a MATLAB file?
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MATLAB Compiler 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!