MATLAB: DEPLOYMENT ERROR

deploymentdeployment error code=2excel dllMATLABMATLAB Builder EX

Hi.
I am trying to create excel dll using Matlab Builder EX. I get an error "Error: An error occurred while shelling out to mbuild (error code = 255). Unable to build executable". Creating .exe file is no problem. I would appriceate any help. I have to finish this asap.

Best Answer

Hi,
Walter is right. You need admin privilges in order to be able to register this COM DLL. This is needed in order to be able to call this DLL from Excel.
What did you change to get error code = 2 instead of error code = 255?