Running C code from Matlab
显示 更早的评论
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
采纳的回答
更多回答(2 个)
Priysha Aggarwal
2019-6-4
0 个投票
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:
类别
在 帮助中心 和 File Exchange 中查找有关 Video Formats and Interfaces 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!