DEPLOYMENT ERROR
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Friedrich
il 24 Mag 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 Commenti
Più risposte (3)
Friedrich
il 24 Mag 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 Commenti
Branko Knezevic
il 24 Mag 2011
1 Commento
Walter Roberson
il 24 Mag 2011
regsvr32 might require admin privileges perhaps, at least the first time it is run on your behalf.
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!