Info

此问题已关闭。 请重新打开它进行编辑或回答。

Linking .Net fieldnames error

1 次查看(过去 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