<< mex | MEX functions | mexCallMATLAB >> |
#include "mex.h" |
int mexAtExit(void (*ExitFcn)(void)); |
Pointer to function you wish to run on exit.
returns 0.
Each MEX can register only one active exit subroutine at a time.
mexAtExit registers a subroutine to be called just when Nelson is finished or clear is called.
edit([modulepath('mex'), '/tests/test_mexAtExit.nls'])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET