diff --git a/matlab/include/matrix.h b/matlab/include/matrix.h index 243bb1d..8b18a79 100644 --- a/matlab/include/matrix.h +++ b/matlab/include/matrix.h @@ -94,5 +94,6 @@ void mx_Export mxSetField(mxArray *, mwIndex, const char *, mxArray *); void mx_Export mxSetProperty(mxArray *, mwIndex, const char *, const mxArray *); void mx_Export mxSetFieldByNumber(mxArray *, mwIndex, int, mxArray *); mxArray* mx_Export mxCreateCharArray(mwSize, const mwSize *); +maxArray mex_Export *mxDuplicateArray(const mxArray *); #endif // matrix_H diff --git a/matlab/src/mex.cpp b/matlab/src/mex.cpp index e7c8dd8..c6cc852 100644 --- a/matlab/src/mex.cpp +++ b/matlab/src/mex.cpp @@ -9,4 +9,5 @@ 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; } -void mex_Export mexMakeArrayPersistent(mxArray *) {} \ No newline at end of file +void mex_Export mexMakeArrayPersistent(mxArray *) {} +maxArray mex_Export *mxDuplicateArray(const mxArray *) { return 0; } \ No newline at end of file