diff --git a/matlab/update_last_mh_history_file.m b/matlab/update_last_mh_history_file.m
index 014e686a6127cbb2cfe2f368670293a3b100027d..d0c4e9ca54f1e5a3f4502e2719e6118584303366 100644
--- a/matlab/update_last_mh_history_file.m
+++ b/matlab/update_last_mh_history_file.m
@@ -1,6 +1,13 @@
 function update_last_mh_history_file(MetropolisFolder, ModelName, record)
+% function update_last_mh_history_file(MetropolisFolder, ModelName, record)
+% Updates the mh_history_file
+% Inputs:
+%   MetropolisFolder    [char]      Name of the metropolis subfolder
+%   ModelName           [char]      Name of the mod-file
+%   record              [structure] structure storing the MH history
+% Outputs:  none 
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2015 Dynare Team
 %
 % This file is part of Dynare.
 %
diff --git a/matlab/write_mh_history_file.m b/matlab/write_mh_history_file.m
index 9fe85ab92f7b78eaa6297500ec0217012dd78e50..00984c26cf38b9584b43a35e4f2b86d7dee4fe45 100644
--- a/matlab/write_mh_history_file.m
+++ b/matlab/write_mh_history_file.m
@@ -1,6 +1,14 @@
 function i = write_mh_history_file(MetropolisFolder, ModelName, record)
+% function i = write_mh_history_file(MetropolisFolder, ModelName, record)
+% Writes a mh_history_file to the harddisk
+% Inputs:
+%   MetropolisFolder    [char]      Name of the metropolis subfolder
+%   ModelName           [char]      Name of the mod-file
+%   record              [structure] structure storing the MH history
+% Outputs:  
+%   i                   [scalar]    number of the mh_history file
 
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2015 Dynare Team
 %
 % This file is part of Dynare.
 %