I have compiled the two matlab functions as NET assembly which will be used in the C# languague as follows -
result = function1(filepath,inputstring);
input = result(4:end);
out2 = function2(filepath,input);
In the C# enviornment, result and input are the MWarray. result is coming as the MWarray type which is of length 7.
where as the input of second function is accepts only MWarray instead of MWarray.
In the matlab code, there is no difference between input as variable and array, because we don't declare the "input" as neither variable or array.
How to solve this issue, i want to pass the MWarray to the input of second function?