how to run the program written in C language in matlab

3 visualizaciones (últimos 30 días)
studentambitious
studentambitious el 25 de Feb. de 2016
Respondida: Walter Roberson el 25 de Feb. de 2016
i need to know the steps to run the program which is written in C language in matlab please help
  1 comentario
Jos (10584)
Jos (10584) el 25 de Feb. de 2016
compile it to an executable using a C-compiler and use the command system within matlab ...

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 25 de Feb. de 2016
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.

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by