How can I define which .Net framework shall a deployed MATLAB function use?
이전 댓글 표시
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?
채택된 답변
추가 답변 (1개)
Kaustubha Govind
2012년 8월 16일
0 개 추천
댓글 수: 2
Bíró
2012년 8월 16일
Kaustubha Govind
2012년 8월 17일
Ah! Could you contact MathWorks Tech Support please? I don't have expertise in this area to be able to help more.
카테고리
도움말 센터 및 File Exchange에서 Call MATLAB from .NET에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!