How can i compile a code which load .Net dll
2 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
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.
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!