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

14 views (last 30 days)
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:

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 10 Sep 2012
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.

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2010a

Community Treasure Hunt

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

Start Hunting!