Mex file examples.