how to run the program written in C language in matlab

조회 수: 3 (최근 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 CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by