我尝试在Matlab中加载C#.dll
try
asm = NET.addAssembly('C:\Temp\SalusCore.dll');
catch e
e.message;
if(isa(e, 'NET.NetException'))
eObj = e.ExceptionObject;
end
end
但是我收到以下错误消息:
Message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source: mscorlib
你能告诉我哪里错吗?我确信'SalusCore.dll'位于'C:\ Temp \'文件夹中,它在C#编译器中成功编译。
谢谢!