how to run the program written in C language in matlab

1 回表示 (過去 30 日間)
studentambitious
studentambitious 2016 年 2 月 25 日
回答済み: Walter Roberson 2016 年 2 月 25 日
i need to know the steps to run the program which is written in C language in matlab please help
  1 件のコメント
Jos (10584)
Jos (10584) 2016 年 2 月 25 日
compile it to an executable using a C-compiler and use the command system within matlab ...

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

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 2 月 25 日
Compile to an executable and then use system() or dos() or unix() .
Or, compile with a mex interface and call the function as if it were built-in.
Or, use loadlibrary() to call it with its existing interface.

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by