필터 지우기
필터 지우기

How do I import .Net frameworks inside a function?

조회 수: 1 (최근 30일)
David Johnston
David Johnston 2017년 9월 19일
답변: Han Du 2017년 9월 22일
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.

답변 (1개)

Han Du
Han Du 2017년 9월 22일
What MATLAB version and .NET framework version are you using? Is that possible to share the reproduction code?

카테고리

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