Skip to content

Commit

Permalink
adding mxDuplicateArray
Browse files Browse the repository at this point in the history
  • Loading branch information
jgillis committed Mar 22, 2024
1 parent 78a27f0 commit 5501726
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions matlab/include/matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion matlab/src/mex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 *) {}
void mex_Export mexMakeArrayPersistent(mxArray *) {}
maxArray mex_Export *mxDuplicateArray(const mxArray *) { return 0; }

0 comments on commit 5501726

Please sign in to comment.