matlab adaptor
searchsentfromdatabase.m
[out1, out2] = searchsentfromdatabase(input1, input2);
...
deploy into searchdatabase.
in C# file
searchdatabase.searchdatabaseclass searchind = new searchdatabaseclass();
MWArray[] gout = searchind.searchsentfromdatabase(2, input1Text.ToString(), input2Text.ToString());
-----
gout[0] -------> out1
gout[1] -------> out2