Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Linking .Net fieldnames error

2 visualizzazioni (ultimi 30 giorni)
Mohammed Hagras
Mohammed Hagras il 20 Apr 2016
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (0)

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by