How to call the C# function with one or two ref type arguments?
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
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);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB 中的 .NET 方法 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!