matlab_wrapper_failure.cpp 341 B

12345678910111213
  1. // This should not link, as the mex function is missing.
  2. // This is mostly for checking we are passing the right arguments to the
  3. // add_library
  4. #include <algorithm>
  5. #include "mex.h"
  6. void mexFunctionXX(const int nlhs, mxArray* plhs[], const int nrhs,
  7. const mxArray* prhs[])
  8. {
  9. mexErrMsgTxt("Should not be running");
  10. }