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

2 visualizaciones (últimos 30 días)
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 comentarios
Rashi Mehrotra
Rashi Mehrotra el 10 de Feb. de 2022
There is engdemo.c in matlab API, whne i run it it gives me error.

Iniciar sesión para comentar.

Respuestas (1)

Benjamin Thompson
Benjamin Thompson el 10 de Feb. de 2022
Use mex to build C code into a function callable in MATLAB. There is a lot of information and examples in the documentation.

Categorías

Más información sobre Call MATLAB from C en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by