필터 지우기
필터 지우기

a mex file in matlab program

조회 수: 5 (최근 30일)
tala
tala 2016년 12월 22일
댓글: tala 2016년 12월 24일
hello i have downloaded a code from mathworks. in the example of code, it starts with " mex eig3volume.c" i dont know how should i run this program

채택된 답변

James Tursa
James Tursa 2016년 12월 22일
To compile the mex routine, first place it in a working directory on the MATLAB path. Then make that your default directory and do this:
mex eig3volume.c
If that works, then you can call it like just like any other function. E.g.,
[ the output list ] = eig3volume( the input arguments );
If the compile doesn't work, it may be because you don't have a supported C compiler installed. You will have to do that before you can compile the mex routine.
  댓글 수: 1
tala
tala 2016년 12월 24일
thanks a lot for your answer

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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