call .NET function with array parameter

2 次查看(过去 30 天)
Jie Zhang
Jie Zhang2021-10-6
评论: Jie Zhang ,2021-11-22
I need to call a .Net function which accepts an array parameter. That .Net function makes some modification to that array. How should I call that .Net function from MATLAB to get the modified array? Thanks.

回答(1 个)

Ashutosh Singh Baghel
Hi Jie,
I understand you wish to call a .Net function for array parameters. This issue can be resolved using the 'params' keyword form .Net Methods. Please refer to the MATLAB Documentation page on Call .NET Methods With params Keyword.





Community Treasure Hunt

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

Start Hunting!

Translated by