[Matlab]未能加载文件或程序集“xx”或它的某一个依赖项。生成此程序集的运行时比当前加载的运行时新,无法加载此程序集。 Source: mscorlib HelpLink
2016-07-08 01:24
686 查看
问题描述:
在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.
看来还是要换版本啊。。。。
在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.
看来还是要换版本啊。。。。
相关文章推荐
- LibLinear(SVM包)使用说明之(二)MATLAB接口
- 【VS开发】【智能语音处理】MATLAB 与 音频处理 相关内容摘记
- Matlab中的随机数
- Matlab- 路径添加
- 低维数据通过核函数映射到高维空间(Gaussian Radial Basis Function)
- matlab学习笔记之基础知识(一)
- matlab自学经验成果分享 字符串的倒序输出
- matlab自学经验成果分享 两个字符串连接
- matlab自学经验成果分享 查找字符串中是否存在指定字符
- matlab自学经验成果分享 输出单引号
- matlab自学经验成果分享 正无穷与负无穷如何表示
- matlab自学经验成果分享 同时修改矩阵的多个元素
- matlab自学经验成果分享 将字符串中的特定字符替换成特定字符
- matlab自学经验成果分享 求矩阵所有元素的和
- matlab自学经验成果分享 对矩阵元素进行升降序排列
- matlab自学经验成果分享 产生一个与已知矩阵同大小的随机数矩阵
- matlab自学经验成果分享 plot输出的图像的线变粗
- matlab自学经验成果分享 用disp输出含有变量的句子
- matlab自学经验成果分享 多项式乘法
- matlab自学经验成果分享 给plot输出的图像加上x,y轴的标签