라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

Call MEX-File Functions

Call C/C++ or Fortran MEX-file functions from MATLAB®

A MEX-file is a function, created in MATLAB, that calls a C, C++, or Fortran subroutine. To call a MEX-file, use the name of the file, without the file extension. The MEX-file contains only one function or subroutine, and its name is the MEX-file name. The file must be on your MATLAB path.

For information about creating MEX-files, see MEX-File Creation API.

For information about using MEX S-functions in models, see your Simulink® documentation.


mexext Binary MEX-file-name extension
inmem Names of functions, MEX-files, classes in memory
Was this topic helpful?