Info

This question is closed. Reopen it to edit or answer.

Linking .Net fieldnames error

2 views (last 30 days)
Mohammed Hagras
Mohammed Hagras on 20 Apr 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (0)

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!