This
looks like the c# wrapper around the COM interface is
not returning the result as a normal return value, rather it is returning it via an
out
parameter. So your code would look like:
object result;
matlab.Feval("WBC_SegProposed", 6, out result, name, num);
If the additional arguments were not "defaulted" then you'll need an appropriate number of
null
values to complete the argument list.
Disclaimer: I've used Matlab in the past but I do not have a copy currently so I cannot try this. This is my
best guess.