Running C code from Matlab
Show older comments
Hi,
I have a complicated C code which I need to call and run in Matlab. I am not that knowledgable about coding.
I have read lot of discussions, but have not really understood. So, if possible if someone can suggest the simple way of doing it step-wise, that will be really helpful.
Thanks
Regards,
Sandeep
Accepted Answer
More Answers (2)
Priysha Aggarwal
on 4 Jun 2019
0 votes
To run a function from a C file in MATLAB, you have to create a MEX file. Edit your C code as per the following:
Chiluveru Manishankar
on 9 Feb 2023
0 votes
I am getting error while generating code from m file
1 Comment
Chiluveru Manishankar
on 9 Feb 2023
Any help please
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!