There is a problem when a MATLAB shared library (as generated by the MATLAB Compiler) is loaded by another shared library. The MATLAB library initialization function (e.g., <lib-name>Initialize) can not be called from the intermediate shared library during the DllMain(DLL_ATTACH_PROCESS) call. This applies whether the intermediate shared library is implicitly or explicity loaded.
MATLAB: Do I receive an error when I call the MATLAB Compiler 4.0 (R14) generated shared library from another shared library
compiledcompilerdlldll_attach_processhanglibnameinitializelibraryMATLAB Compilershared
Related Question
- Does MATLAB 7.0 (R14) crash when I use a structure from a shared library that contains a type char ** member
- Does MATLAB 7.10 (R2010a) crash on Windows when launched from a network share
- C++ shared library compiling/packaging errors
- Can I use the operating system’s loadlibrary function to call a MATLAB Compiler shared library function
- Imwrite function in c++ shared library
Best Answer