DEPLOYMENT ERROR
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuesta aceptada
Friedrich
el 24 de Mayo de 2011
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?
0 comentarios
Más respuestas (3)
Friedrich
el 24 de Mayo de 2011
I think when you take a look at the log file you will find the entry:
$MATLABROOT\BIN\MEX.PL: Error: The chosen compiler does not support building COM objects. Please see the MATLAB Builder documentation for the latest list of supported compilers.
So I think you choose the LCC as compiler, who is not able to compile COM object. Please use a different supported compiler. Which one is supported and able to compile COM object can be obtained on the MathWorks homepage under
I hope I could help,
Friedrich
0 comentarios
Branko Knezevic
el 24 de Mayo de 2011
1 comentario
Walter Roberson
el 24 de Mayo de 2011
regsvr32 might require admin privileges perhaps, at least the first time it is run on your behalf.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!