vid return type
Show older comments
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
Answers (0)
Categories
Find more on National Instruments Frame Grabbers in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!