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.

 採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 11 月 10 日
To work around this issue, reinstall Microsoft Visual Studio.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

製品

リリース

R2009b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by