从native.dll文件中检索多个输出

时间:2015-06-09 21:32:13

标签: c# dll output native

我在部署matlab函数时创建了native.dll文件,我在c#project中使用了本机文件 matlab函数有2个输出

[ID,reco_ratio] = Orintation(Query_images,target_images)

当我从c#项目中调用函数时(使用本机文件) 我尝试检索2输出

Orintation_class temp = new Orintation_class();
object temp2 = temp.Orintation(Query_images, Query_images);
Double[,] q = temp2 as Double[,];

但返回的值只是第一个输出

那么,我如何检索2个输出?

0 个答案:

没有答案
相关问题