MATLAB emulation package