how to run C-file in matlab ?
9 views (last 30 days)
Show older comments
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.
0 Comments
Answers (2)
Jan
on 16 Mar 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 Comments
Jan
on 18 Mar 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.
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!