Compiled DLL doesn't work on target machine
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello
I've built a DLL using the Matlab Compiler Toolbox, which I would now like to integrate into a Visual Studio project. Everything compiles nicely, but the program can not be started. Instead I keep getting the 'mclmcr.dll not found' error. I've tried just about anything I was able to find in the net (adding the compiler runtime path to the system path / reinstalling the compiler runtime provided in the Matlab compiler package).
My question: am I missing something? Might it be a problem, that the dll was built on a different machine (with the same architecture) from that where I'm trying to build the c++ project?
Any comments are very welcome!
2 Kommentare
Kaustubha Govind
am 14 Aug. 2013
Did you use the MCRInstaller from the same installation of MATLAB that you used to compile the DLL?
Weitere Antworten (1)
Stan
am 1 Nov. 2013
I noticed a similar problem (MATLAB R2013A 64bit). My program crashes when it calls the MATLAB function. Thread error: Clr20R3 (System.DllNotFoundException).
1 Kommentar
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!