call .NET function with array parameter

1 vue (au cours des 30 derniers jours)
Jie Zhang
Jie Zhang le 6 Oct 2021
Commenté : Jie Zhang le 22 Nov 2021
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.

Réponses (1)

Ashutosh Singh Baghel
Ashutosh Singh Baghel le 19 Nov 2021
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.
  1 commentaire
Jie Zhang
Jie Zhang le 22 Nov 2021
This does not answer my question.

Connectez-vous pour commenter.

Tags

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by