build_mex.m File Reference
Compile C/C++ files to Matlab MEX files for Windows, MacOS and Linux (Tested on Ubuntu 14.04). More...
Functions | |
function status = | build_mex (char build_dir,cellstr src_files,varargin varargin) |
Compile C/C++ files to Matlab MEX files for Windows, MacOS and Linux (Tested on Ubuntu 14.04). More... | |
function file = | buildmex>normalize (file, ext) |
Detailed Description
Compile C/C++ files to Matlab MEX files for Windows, MacOS and Linux (Tested on Ubuntu 14.04).
Function Documentation
◆ build_mex()
Compile C/C++ files to Matlab MEX files for Windows, MacOS and Linux (Tested on Ubuntu 14.04).
- Parameters
-
build_dir the directory name of the folder where the source functions are located. It will be also used as the build directory for MEX files. src_files the list of file names that need to be compiled. varargin extra MEX build options
- Note
- Specify ''CC'' to the supported version of compiler to get rid of the annoying warnings.
◆ buildmex>normalize()
function file = buildmex>normalize | ( | file, | |
ext | |||
) |