Can I use C++/CLR assemblies in MATLAB using NET.addAssembly
이전 댓글 표시
I can build a CLR Visual C++ class library in VS 2013 that gets me a dll. But it seems that MATLAB NET.addAssembly givess me an error when I try to load the assembly. Is this not possible or am I doing something wrong?
답변 (2개)
Krishna Chaitanya Duggineni
2016년 1월 27일
0 개 추천
Can you share the error message?
댓글 수: 1
Kevin Keeney
2016년 1월 28일
편집: Walter Roberson
2016년 1월 28일
Krishna Chaitanya Duggineni
2016년 1월 29일
0 개 추천
'NET.addAssembly' requires assembly entry in the assembly metadata. Perhaps, some thing has gone wrong while creating this metadata.
Try the following 1) Start the Ildasm.exe ( MSIL Disassembler ). To run the tool, use the Developer Command Prompt (or the Visual Studio Command Prompt in Windows 7). 2) Load the file you wish to test. 3) If ILDASM reports that the file is not a portable executable (PE) file, then it is not an assembly.
Let me know what happens.
카테고리
도움말 센터 및 File Exchange에서 Get Started with Microsoft .NET에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!