how to run C-file in matlab ?

9 visualizaciones (últimos 30 días)
Pooja
Pooja el 16 de Mzo. de 2013
how to run C-file in matlab ?I have heard of MEX file to run C files in matlab.Is this correct?What should be the commands given?Kindly enlighten.

Respuestas (2)

Walter Roberson
Walter Roberson el 16 de Mzo. de 2013

Jan
Jan el 16 de Mzo. de 2013
Take the chance to search in the net by your own. E.g. asking Google about "Matlab mex how to" will reveal a lot of corresponding tutorials.
  3 comentarios
Jan
Jan el 18 de Mzo. de 2013
@Pooja: Which is "this" page? Did you look in the top 20 pages found by Google?
Simply let Matlab compile the C-file completely:
mex -setup (if not done before)
mex -O YourCFile.c
ready.
Pooja
Pooja el 27 de Abr. de 2013
Is this that simple ?Only these two codes needed?

Iniciar sesión para comentar.

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