Does MATLAB 7.10 (R2010a) support Microsoft .NET Framework 4.0?

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:

 采纳的回答

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 个)

类别

产品

版本

R2010a

标签

尚未输入任何标签。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by