how to run the program written in C language in matlab
1 次查看(过去 30 天)
显示 更早的评论
i need to know the steps to run the program which is written in C language in matlab please help
1 个评论
Jos (10584)
2016-2-25
compile it to an executable using a C-compiler and use the command system within matlab ...
回答(1 个)
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!