Raise Invalid Argument Exception In Matlab