Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Linking .Net fieldnames error

조회 수: 5 (최근 30일)
Mohammed Hagras
Mohammed Hagras 2016년 4월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
I am linking a function to .Net by creating .dll file. The code works correctly on Matlab but, when I am trying to use the function I get this error: "An unhandled exception of type 'System.Exception' occurred in MWArray.dll
Additional information:
... MWMCR::EvaluateFunction error ...
Undefined function 'fieldnames' for input arguments of type 'cell'."
The .net code is simply calling the function with no arguments
Using the debugger on matlab raw features holds 3 named structs and works well on matlab

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by