I have two .NET Assemblies:
1. myAssembly1: implements a class myClass1.
2. myAssembly2: implements a class myClass2 which can serialize, deserialize and return objects of type myClass1.
In MATLAB I use NET.addAssembly to load both myAssembly1 and myAssembly2. Then when I try to use myClass2 to deserialize and return an object of type myClass1, I receive the following error:
??? Message: Unable to find assembly 'myAssembly1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Source: mscorlib HelpLink:
So even though myAssembly1 is already loaded into my AppDomain, MATLAB claims that it cannot find it.
Best Answer