Running C code from Matlab
조회 수: 39(최근 30일)
표시 이전 댓글
Kamesh Sandeep 2019년 6월 4일
댓글: Chiluveru Manishankar 2023년 2월 9일
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.
Raghunandan V 2019년 6월 4일
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.
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:
I am getting error while generating code from m file
댓글 수: 1
Find more on Specialized Power Systems 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!