diff --git a/matlab/include/mex.h b/matlab/include/mex.h index 9d7b08b..b2f50e1 100644 --- a/matlab/include/mex.h +++ b/matlab/include/mex.h @@ -23,6 +23,7 @@ void mex_Export mexWarnMsgIdAndTxt(const char *, const char *, ...); int mex_Export mexPrintf(const char*, ...); void mex_Export mexLock(void); int mex_Export mexAtExit(void (*)(void)); +void mex_Export mexMakeArrayPersistent(mxArray *); } diff --git a/matlab/src/mex.cpp b/matlab/src/mex.cpp index 3785b77..e7c8dd8 100644 --- a/matlab/src/mex.cpp +++ b/matlab/src/mex.cpp @@ -8,4 +8,5 @@ void mex_Export mexWarnMsgIdAndTxt(const char *, const char *, ...) {} int mex_Export mexPrintf(const char*, ...) { return 0; } void mex_Export mexLock(void) {} int mex_Export mexAtExit(void (*)(void)) { return 0; } -int mex_Export mexEvalString(const char *) { return 0; } \ No newline at end of file +int mex_Export mexEvalString(const char *) { return 0; } +void mex_Export mexMakeArrayPersistent(mxArray *) {} \ No newline at end of file