Can I use C++/CLR assemblies in MATLAB using NET.addAssembly
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Kevin Keeney
el 23 de En. de 2016
Respondida: Krishna Chaitanya Duggineni
el 29 de En. de 2016
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?
0 comentarios
Respuestas (2)
Krishna Chaitanya Duggineni
el 27 de En. de 2016
Can you share the error message?
1 comentario
Kevin Keeney
el 28 de En. de 2016
Editada: Walter Roberson
el 28 de En. de 2016
Krishna Chaitanya Duggineni
el 29 de En. de 2016
'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.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!