summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/Modules/matlab.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Modules/matlab.cxx b/Source/Modules/matlab.cxx
index a58f74816..5a7889e99 100644
--- a/Source/Modules/matlab.cxx
+++ b/Source/Modules/matlab.cxx
@@ -2721,6 +2721,9 @@ void MATLAB::createSwigRef() {
Printf(f_wrap_m," end\n");
Printf(f_wrap_m," end\n");
Printf(f_wrap_m," methods\n");
+ Printf(f_wrap_m," function out = saveobj(self)\n");
+ Printf(f_wrap_m," error('Serializing SWIG objects not supported.')\n");
+ Printf(f_wrap_m," end\n");
Printf(f_wrap_m," function b = isnull(self)\n");
Printf(f_wrap_m," b = isempty(self.swigPtr);\n");
Printf(f_wrap_m," end\n");