How can I define which .Net framework shall a deployed MATLAB function use?
Ältere Kommentare anzeigen
I have a MATLAB function that uses some .Net assembly what are builded with .Net 4.0. I deployed this function and I set the .Net version to 4.0 (in project settings). When I use this deployed MATLAB function in a C# project it throws an exception when it try to load the .Net dll:
"Could not load file or assembly 'file:///c:\something.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded."
Is there any option to define te version of .Net framework? Is there any other solution?
Akzeptierte Antwort
Weitere Antworten (1)
Kaustubha Govind
am 16 Aug. 2012
0 Stimmen
2 Kommentare
Bíró
am 16 Aug. 2012
Kaustubha Govind
am 17 Aug. 2012
Ah! Could you contact MathWorks Tech Support please? I don't have expertise in this area to be able to help more.
Kategorien
Mehr zu Call MATLAB from .NET finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!