Do CHECK and throw a Mex error if check fails
| 23 | |
| 24 | // Do CHECK and throw a Mex error if check fails |
| 25 | inline void mxCHECK(bool expr, const char* msg) { |
| 26 | if (!expr) { |
| 27 | mexErrMsgTxt(msg); |
| 28 | } |
| 29 | } |
| 30 | inline void mxERROR(const char* msg) { mexErrMsgTxt(msg); } |
| 31 | |
| 32 | // Check if a file exists and can be opened |
no outgoing calls
no test coverage detected