How does matlab handle dll dependancies?
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!