Why do I receive an error "Error: An error occurred while shelling out to mbuild (error code = 128)" when compiling a MATLAB file?
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Compiler 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!