From 8159e786338678500feed6e20b10a5c51c845eae Mon Sep 17 00:00:00 2001
From: sebastien <sebastien@ac1d8469-bf42-47a9-8791-bf33cf982152>
Date: Fri, 5 Dec 2008 11:24:57 +0000
Subject: [PATCH] trunk preprocessor: save M_ in the _results.mat file

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2292 ac1d8469-bf42-47a9-8791-bf33cf982152
---
 ModFile.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ModFile.cc b/ModFile.cc
index 134d9982..52f7f856 100644
--- a/ModFile.cc
+++ b/ModFile.cc
@@ -217,7 +217,7 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const
       it != statements.end(); it++)
     (*it)->writeOutput(mOutputFile, basename);
 
-  mOutputFile << "save('" << basename << "_results.mat', 'oo_');" << endl;
+  mOutputFile << "save('" << basename << "_results.mat', 'oo_', 'M_');" << endl;
   mOutputFile << "diary off" << endl;
   mOutputFile << "rmpath " << basename << ";\n";
 
-- 
GitLab