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