Does MATLAB 7.10 (R2010a) support Microsoft .NET Framework 4.0?
10 ビュー (過去 30 日間)
古いコメントを表示
The MATLAB documentation states that "MATLAB interface supports the features of the .NET Framework Version 2.0, and works with Version 2.0 or above.":
<http://www.mathworks.com/help/dotnetbuilder/microsoft-visual-basic-integration-examples.html#bqkjl0q-1>
However, when I run a program using the .NET 4.0 interface, I receive the following error:
??? Message: Could not load file or assembly 'file:///C:\Work\Visual Studio\MTracker\MTracker\bin\Debug\MTracker.dll' 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:
採用された回答
MathWorks Support Team
2012 年 9 月 10 日
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 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!