how to run C-file in matlab ?

9 次查看(过去 30 天)
Pooja
Pooja 2013-3-16
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.

回答(2 个)

Walter Roberson
Walter Roberson 2013-3-16

Jan
Jan 2013-3-16
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 个评论
Jan
Jan 2013-3-18
@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 2013-4-27
Is this that simple ?Only these two codes needed?

请先登录,再进行评论。

类别

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