Running C code from Matlab

46 ビュー (過去 30 日間)
Kamesh Sandeep
Kamesh Sandeep 2019 年 6 月 4 日
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

採用された回答

Raghunandan V
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

その他の回答 (2 件)

Priysha Aggarwal
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:

Chiluveru Manishankar
Chiluveru Manishankar 2023 年 2 月 9 日
I am getting error while generating code from m file
  1 件のコメント
Chiluveru Manishankar
Chiluveru Manishankar 2023 年 2 月 9 日
Any help please

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by