How can i get function's multiple return values in c#
이전 댓글 표시
Dear all,
I create an function with 4 return values and converted dll for .net, when i call that function i can get only first values remaining 3 values are not able get.
function [p,n,d,u] = Function_Apc(input list)
in C# i called as OptiAPC myMpcObj = new OptiAPC()
MWArray obj = null;
obj = myMpcObj.Function_Apc(Inputlist);
in obj value has only p value not others.
How can i get all the 4 values in that variable "Obj"
답변 (1개)
Sathiyaseelan
2012년 11월 6일
1 개 추천
댓글 수: 1
Kenery
2014년 4월 23일
Hi,
I'm wondering if the function's outputs are different data types, for example, [struct array, double array] = function(...)
How can I declare the return values in C#?
thanks
카테고리
도움말 센터 및 File Exchange에서 Call MATLAB from .NET에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!