简体   繁体   中英

getting multiple outputs from matlab to c#

I have written some functions in matlab.Now I need to get their outputs to C# .net form.I could success fully connect them through .Net Assembly and able to get output of a function which returns only one output to c#.Now I want to do it with a function which returns multiple outputs.Is there any particular way of doing this?????

thanks...

DLL中可用的方法有不同的信号,只需使用正确的方法,将方法的第一个输入参数作为输出数,然后它将返回一个MWArray数组作为输出:(即下面,2表示我希望有一个大小为2的输出数组

    MWArray[] res = MatlabDll.callMethod(2, x, y);

C#使用Tuple Class来解决这个问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM