Error when compiling with Builder EX - How to solve?

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.

Réponses (1)

Titus Edelhofer
Titus Edelhofer le 13 Août 2011

0 votes

Hi,
this usually happens when you have no local administrator privileges. Try to run MATLAB as administrator.
Titus

Catégories

En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange

Question posée :

le 13 Août 2011

Community Treasure Hunt

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

Start Hunting!

Translated by