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

1 view (last 30 days)
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 Comments

Sign in to comment.

Answers (1)

Benjamin Thompson
Benjamin Thompson on 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.

Tags

Products

Community Treasure Hunt

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

Start Hunting!