Simple argument parser for MATLAB functions.