From 227b9d2339963a598bfc58c6d3caf746d7cebdd9 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Fri, 11 Mar 2016 15:29:12 +0100 Subject: [PATCH] Save dataset_info in results.mat if it exists --- ModFile.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ModFile.cc b/ModFile.cc index 42dbdcbb..00eb9c37 100644 --- a/ModFile.cc +++ b/ModFile.cc @@ -798,6 +798,8 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo << " save('" << basename << "_results.mat', 'dataset_', '-append');" << endl << "end" << endl << "if exist('estimation_info', 'var') == 1" << endl << " save('" << basename << "_results.mat', 'estimation_info', '-append');" << endl << "end" << endl + << "if exist('dataset_info', 'var') == 1" << endl + << " save('" << basename << "_results.mat', 'dataset_info', '-append');" << endl << "end" << endl << "if exist('oo_recursive_', 'var') == 1" << endl << " save('" << basename << "_results.mat', 'oo_recursive_', '-append');" << endl << "end" << endl;