At least raise an error. e.g. inside rwt_matlab_init ``` if ( !mxIsDouble(prhs[0]) || mxIsComplex(prhs[0]) ) rwt_errormsg("input must be a double real matrix"); ```