How can I return a MATLAB object into a MWArray using MATLAB Builder for .Net?

Hi!!!!
How can I return a MATLAB object into a MWArray using MATLAB Builder for .Net?
Matlab function vid_struc = aa(device_id) vid = 1; tell = 2; vid_struc.video = vid; vid_struc.tell =tell; end
c# MWArray[] out_args; Class1 Inverse = new Class1(); out_args = Inverse.aa(db);
error Cannot implicitly convert type 'MathWorks.MATLAB.NET.Arrays.MWArray' to 'MathWorks.MATLAB.NET.Arrays.MWArray[]'

Answers (0)

Asked:

on 10 Sep 2015

Community Treasure Hunt

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

Start Hunting!