Library for MATLAB