How to call the C# function with one or two ref type arguments?

I find help in matlab document, but that is about C# functions with only one argument(ref type). Now, I have a funtion with two ordinary arguments and one ref type argument, like this:
bstatus = CS_function(arg1, arg2, ref arg3)
How could I call this function?

 채택된 답변

Guillaume
Guillaume 2017년 9월 5일
Have a look at the function signature with methodsview or methods, which should tell you exactly how to call it.
I suspect the calling syntax in matlab would be:
[bstatus, arg3_after] = CS_function(arg1, arg2, arg3_before);

댓글 수: 1

The Pirate
The Pirate 2017년 9월 6일
편집: The Pirate 2017년 9월 6일
Yes, thank you, It works.
At this moment, I find MATLAB is powerful!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2017년 9월 5일

편집:

2017년 9월 6일

Community Treasure Hunt

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

Start Hunting!