[MATLAB] Added hack to get constructor working