Remove checking code form OpenMATLAB so it can run with MEX (temporary)