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.

Answers (1)

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

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 13 Aug 2011

Community Treasure Hunt

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

Start Hunting!