How do I import .Net frameworks inside a function?
Mostrar comentarios más antiguos
I am trying to use .Net assemblies inside a matlab function. When I comment out the "function" line and run the script as top-level .m file it runs fine. When I run it as a function I get the following error:
Message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Please assist.
Respuestas (1)
Han Du
el 22 de Sept. de 2017
0 votos
What MATLAB version and .NET framework version are you using? Is that possible to share the reproduction code?
Categorías
Más información sobre Get Started with Microsoft .NET en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!