How can I pass my C# function in Matlab functions input parameters?

2 vues (au cours des 30 derniers jours)
Muhammad Bilal
Muhammad Bilal le 10 Sep 2014
Commenté : Muhammad Bilal le 10 Sep 2014
Hello Everyone!
I have a scenario that I have some function written in c# and some in Matlab, I have generated native C# dll from matlab, and the matlab function argument takes one function and I want C# function to be executed by that. So i want to pass my c# function when call the matlab function from C#. Can this be done? If so can any one help me :(.
Thanks, Bilal

Réponse acceptée

Friedrich le 10 Sep 2014
yes that can be done and there is an example in the documentation which does exactly that. See here
>> web(fullfile(docroot, 'dotnetbuilder/ug/microsoft-visual-basic-integration-examples.html#bswl6fh-1'))
or online.
  3 commentaires
Muhammad Bilal
Muhammad Bilal le 10 Sep 2014
Thank you very much for the help :)

Connectez-vous pour commenter.

Plus de réponses (0)


En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by