diff --git a/ModFile.cc b/ModFile.cc
index 939526b0924065f03fd614166fab4e1763231342..dbd8eb35ad76368b20d4092b3911af4d04f427f2 100644
--- a/ModFile.cc
+++ b/ModFile.cc
@@ -216,7 +216,7 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const
       it != statements.end(); it++)
     (*it)->writeOutput(mOutputFile, basename);
 
-  mOutputFile << "save('" << basename << "_results.mat', 'oo_', 'M_');" << endl;
+  mOutputFile << "save('" << basename << "_results.mat', 'oo_', 'M_', 'options_');" << endl;
   mOutputFile << "diary off" << endl;
 
   if (model_tree.mode == eSparseMode)