use MATLAB function in C#

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 个评论

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.

回答(0 个)

此问题已关闭。

提问:

2012-3-13

Community Treasure Hunt

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

Start Hunting!

Translated by