Add MATLAB functions to directory.