Error when compiling with Builder EX - How to solve?

5 次查看(过去 30 天)
How to solve this?
--> mwregsvr C:\Users\Bart\Documents\MATLAB\Untitled3\src\Untitled3_1_0.dll
Error: DllRegisterServer in C:\Users\Bart\Documents\MATLAB\Untitled3\src\Untitled3_1_0.dll failed
C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: regsvr32 for C:\Users\Bart\Documents\MATLAB\Untitled3\src\Untitled3_1_0.dll failed.
Error: An error occurred while shelling out to mbuild (error code = 2). Unable to build executable. ??? Error using ==> mcc Error executing mcc, return status = 1.

回答(1 个)

Titus Edelhofer
Titus Edelhofer 2011-8-13
Hi,
this usually happens when you have no local administrator privileges. Try to run MATLAB as administrator.
Titus

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by