How does matlab handle dll dependancies?
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!