how to add many function from different file in the same mex file
이전 댓글 표시
hi
I have two functions f1 and f2 in the same c file (functions.c) and their prototype in the same header file (functions.h), so how to use them without rewrite them in the main mex file code ????
thanks in advance
답변 (1개)
Jan
2014년 5월 25일
0 개 추천
A mex file requires one mexFunction. This gateway function can call as many other functions from the same file as you want. Therefore it is not clear, why modifications of f1 or f2 could be needed.
카테고리
도움말 센터 및 File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!