Info

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

use MATLAB function in C#

1 次查看(过去 30 天)
Bíró
Bíró 2012-3-13
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 个评论
Kaustubha Govind
Kaustubha Govind 2012-3-13
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 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by