Merge commit to support ctrl-c for ms-sbvar, closes #304
commit
f640912878
|
@ -1 +1 @@
|
|||
Subproject commit f21da3ff380b5d3e86624a365bcc03e41f5cfdd1
|
||||
Subproject commit 671802fcb4597b56943897cd91be838230c256d1
|
|
@ -1,2 +1,5 @@
|
|||
include ../mex.am
|
||||
include ../../ms_sbvar.am
|
||||
|
||||
ms_sbvar_create_init_file_LDADD = -lut
|
||||
ms_sbvar_command_line_LDADD = -lut
|
||||
|
|
|
@ -32,6 +32,14 @@
|
|||
#define dw_free mxFree
|
||||
#define dw_exit msExit
|
||||
|
||||
/* Handle Ctrl-C in Matlab/Octave */
|
||||
#ifdef MATLAB_MEX_FILE
|
||||
extern bool utIsInterruptPending();
|
||||
#else
|
||||
#include <octave/config.h>
|
||||
#include <octave/quit.h>
|
||||
#endif
|
||||
|
||||
void msExit(int status);
|
||||
extern int constant_seed;
|
||||
|
||||
|
|
Loading…
Reference in New Issue