variables in c is input for a function running in matlab and print in c, how to

1 vue (au cours des 30 derniers jours)
How can I create a link between c and matlab, I have to take input from c program run a function in matlab and then print the output in c.
  13 commentaires
Rashi Mehrotra
Rashi Mehrotra le 10 Fév 2022
There is engdemo.c in matlab API, whne i run it it gives me error.
Walter Roberson
Walter Roberson le 10 Fév 2022
What error message do you observe?

Connectez-vous pour commenter.

Réponses (1)

Benjamin Thompson
Benjamin Thompson le 10 Fév 2022
Use mex to build C code into a function callable in MATLAB. There is a lot of information and examples in the documentation.

Catégories

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

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by