Is it possible to create a MEX file from C code outside of Matlab?

조회 수: 3 (최근 30일)
Mahmud Khan
Mahmud Khan 2018년 9월 20일
편집: James Tursa 2018년 9월 20일
I know how to do it within Matlab. Is there a way to turn a dot-c file into a MEX file (64 bit) through some other method not involving Matlab?

답변 (1개)

James Tursa
James Tursa 2018년 9월 20일
편집: James Tursa 2018년 9월 20일
You can compile the mex routine from outside of MATLAB (e.g., from within Visual Studio), but you will still need the MATLAB libraries to link with.

카테고리

Help CenterFile Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

태그

제품


릴리스

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by