How can I load depending .NET dlls into Matlab

2 views (last 30 days)
Hello, I have two dlls: A.dll and B.dll. I want to use some functions of B.dll so I write:
Basm = NET.addAssembly('C:\work\B.dll');
But B.dll can not be loaded because it has a reference to A.dll. It shows me a ReflectionTypeLoadException with the missing file A.dll How can I solve this problem?
I allready tried the following:
Aasm = NET.addAssembly('C:\work\A.dll');
Basm = NET.addAssembly('C:\work\B.dll');
But it shows the same error for B.dll (A.dll is loaded properly).
Thanks for helping, Sven

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!