How does matlab handle dll dependancies?
Mostrar comentarios más antiguos
We have an issue with having multiple mex and dll files, which have similarly named, differing versions of the same dlls.
They are kept on separate paths, with their own copies the dlls. We have previously had to call 'clear mex' to force matlab to unload old versions of mex files before we can load up the next.
We would like to be able to maintain state in the dll's (specifically to avoid long and expensive operations to move data between matlab and the DLLs) and are hoping to use loadlibrary to allow us to do this.
Unfortunately this means our 'clear mex' hack, no longer works. Could you explain possible methods to allow us to load multiple DLL's, which depend on different versions of identically named DLLs?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!