variables in c is input for a function running in matlab and print in c, how to
1 view (last 30 days)
Show older comments
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
Answers (1)
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.
0 Comments
See Also
Categories
Find more on Call MATLAB from C in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!