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

1 Ansicht (letzte 30 Tage)
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 Kommentare
Rashi Mehrotra
Rashi Mehrotra am 10 Feb. 2022
There is engdemo.c in matlab API, whne i run it it gives me error.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Mehr zu Call MATLAB from C finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by