Info

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

use MATLAB function in C#

1 visualizzazione (ultimi 30 giorni)
Bíró
Bíró il 13 Mar 2012
I have a MATLAB function which get a numeric array and return same sized array. I compiled it with Builder NE and I use this function in C# code. I can pass to the function a double array without problems, but an int array cause some problems. To convert C# array to MATLAB type array I use MWNumericArray() class, which has a bool MakeDouble argument, but it unusable with array (just with scalar). Is there any option to pass an int array to the function without convert to double array?
  1 Commento
Kaustubha Govind
Kaustubha Govind il 13 Mar 2012
Please explain what you mean by "an int array cause some problems" - what is the exact symptom? Do you see an error, if yes, paste the exact error message.

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by