필터 지우기
필터 지우기

How can i compile a code which load .Net dll

조회 수: 3 (최근 30일)
Bíró
Bíró 2012년 8월 2일
I have a MATLAB GUI what load some .Net dll using NET.addAssembly() function. Everithing works fine in MATLAB, but when i compile the GUI using deploytool, the dll loading doesn't work. I tried to add shared files during compiling, to add dlls in the Advenced Settings in deploytool but didn't help. How can i solve it?

채택된 답변

Kaustubha Govind
Kaustubha Govind 2012년 8월 2일
What is the exact that you receive in the compiled application? If it is "This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded." then this solution might help. If it doesn't, then I would recommend contacting MathWorks Tech Support.

추가 답변 (1개)

Bíró
Bíró 2012년 8월 2일
It worked!! That was the problem. Thank you very much!:)

카테고리

Help CenterFile Exchange에서 Getting Started with Microsoft .NET에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by