[MATLAB] Fixed destructor wrapper