vid return type

Hi, I am trying to use some image centroids functions of matlab from c# client. I am using .net builder of matlab. It works fine but I can not get return type of vid camera parameters.
Here is the matlab code
function [myvid] = connect_camera()
vid = videoinput('winvideo', 1, 'YUY2_160x120');
myvid =vid;
Here is the c# code
MWArray myvid ;
Class1 myclass = new Class1();
myvid = myclass.connect_camera();
myvid is not return any value but null.
Thank you Nuri Erginer gnexlab

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by