Call C/C++ MEX Functions from MATLAB
A MEX file is a function, created in MATLAB®, that calls a C/C++ program
A MEX file is a function, created in MATLAB, that calls a C/C++ program or a Fortran subroutine. A MEX function behaves just like a MATLAB script or function.
To experiment with calling MEX functions, use the code inTables of MEX Function Source Code Examplesto build and run examples.
For information about creating C++ MEX functions, seeWrite C++ Functions Callable from MATLAB (MEX Files).
For information about using MEX S-functions in models, see your Simulink®documentation.
Catégories
- Call MEX Functions
Call C/C++ or Fortran MEX file functions from MATLAB - Write C++ Functions Callable from MATLAB (MEX Files)
创建高性能的功能ions, implemented in modern C++, that can be called from MATLAB