matlab找不到程序集,[Matlab]未能加载文件或程序集“xx”或它的某一个依赖项。生成此程序集的运行时比当前加载的运行时新,无法加载此程序集。 Source: mscorlib HelpLin...

问题描述:

在MATLAB2009a里尝试调用某大神给出的c# dll,报错如下:

>> NET.addAssembly(pfpath)

??? Message: 未能加载文件或程序集“QuantBox.CSharp2CTP.dll”或它的某一个依赖项。生成此程序集的运行时比当前加载的运行时新,无法加载此程序集。

Source: mscorlib

HelpLink:

百度Bing无果,尝试查找英文报错。

Could not load file or assembly 'xxxx' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Source: mscorlib HelpLink.

http://cn.mathworks.com/matlabcentral/answers/12505-failed-to-load-a-net-assembly

http://stackoverflow.com/questions/6842697/matlab-failed-to-load-a-net-assembly

This bug has been fixed in Release 2011a (R2011a). For previous product releases, read below for any possible workarounds:

Currently, Microsoft .NET Framework 4.0 is not supported. Versions 2.0 and 3.5 are supported. When the documentation was written, .NET 4.0 had not been released yet, so "2.0 and above" meant 2.0 and 3.5. 看来还是要换版本啊。。。。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值