Info
This question is closed. Reopen it to edit or answer.
use MATLAB function in C#
1 view (last 30 days)
Show older comments
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 Comment
Kaustubha Govind
on 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.
Answers (0)
This question is closed.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!