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()

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).

Author
Wen-Loong Ma wenlo.nosp@m.ong..nosp@m.ma@gm.nosp@m.ail..nosp@m.com
Ayonga Hereid Copyright (c) 2016, AMBER Lab All right reserved.
Parameters
build_dirthe directory name of the folder where the source functions are located. It will be also used as the build directory for MEX files.
src_filesthe list of file names that need to be compiled.
vararginextra 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 
)