如何在Matlab中加载C#.dll?

时间:2016-11-09 01:22:08

标签: c# matlab dll

我尝试在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#编译器中成功编译。

谢谢!

0 个答案:

没有答案