summaryrefslogtreecommitdiff
path: root/Examples/octave/variables/runme.m
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/octave/variables/runme.m')
-rw-r--r--Examples/octave/variables/runme.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/Examples/octave/variables/runme.m b/Examples/octave/variables/runme.m
index c6788398b..71ac72f29 100644
--- a/Examples/octave/variables/runme.m
+++ b/Examples/octave/variables/runme.m
@@ -1,4 +1,7 @@
-# file: runme.m
+# do not dump Octave core
+if exist("crash_dumps_octave_core", "builtin")
+ crash_dumps_octave_core(0);
+endif
swigexample