how to run the program written in C language in matlab

i need to know the steps to run the program which is written in C language in matlab please help

1 Comment

compile it to an executable using a C-compiler and use the command system within matlab ...

Sign in to comment.

Answers (1)

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.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Asked:

on 25 Feb 2016

Answered:

on 25 Feb 2016

Community Treasure Hunt

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

Start Hunting!