Running C code from Matlab
조회 수: 51 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
Raghunandan V
2019년 6월 4일
Hi Sandeep,
For sure there is no one line solution for this. I learnt it using these video series by Matlab. please follow it, you will have a good idea.
Regards,
Raghunandan V
댓글 수: 0
추가 답변 (2개)
Priysha Aggarwal
2019년 6월 4일
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:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!