diff --git a/license.txt b/license.txt
index 95867ea33e15cc6c4b057d98f40e265ae8c1c214..c9be4ebec81a70f3612d8ff25d45587766bf9cdb 100644
--- a/license.txt
+++ b/license.txt
@@ -58,6 +58,12 @@ Copyright: 2011 Lawrence J. Christiano, Mathias Trabandt and Karl Walentin
            2013 Dynare Team
 License: GPL-3+
 
+Files: matlab/simpsa.m matlab/simpsaget.m matlab/simpsaset.m
+Copyright: 2005 Henning Schmidt, FCC, henning@fcc.chalmers.se
+           2006 Brecht Donckels, BIOMATH, brecht.donckels@ugent.be
+           2013 Dynare Team
+License: GPL-3+
+
 Files: matlab/missing/stats/normpdf.m matlab/missing/stats/gamcdf.m
  matlab/missing/stats/common_size.m matlab/missing/stats/chi2inv.m
  matlab/missing/stats/gaminv.m matlab/missing/stats/gampdf.m
diff --git a/matlab/simpsaget.m b/matlab/simpsaget.m
index b5014ac1cb04a9a1275cfba23448a152d3f23f8b..c693389188cc08c49c021ab1d2ab5166730598b8 100644
--- a/matlab/simpsaget.m
+++ b/matlab/simpsaget.m
@@ -16,24 +16,23 @@ function o = SIMPSAGET(options,name,default,flag)
 %   returns val = 1e-4 if the TolX property is not specified in opts.
 %
 %   See also SIMPSASET, SIMPSA
-% 
+
 % Copyright (C) 2006 Brecht Donckels, BIOMATH, brecht.donckels@ugent.be
 % 
-% This program is free software; you can redistribute it and/or
-% modify it under the terms of the GNU General Public License
-% as published by the Free Software Foundation; either version 2
-% of the License, or (at your option) any later version.
-% 
-% This program is distributed in the hope that it will be useful,
+% This file is part of Dynare.
+%
+% Dynare is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% Dynare is distributed in the hope that it will be useful,
 % but WITHOUT ANY WARRANTY; without even the implied warranty of
 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-% GNU General Public License for more details. 
-% 
+% GNU General Public License for more details.
+%
 % You should have received a copy of the GNU General Public License
-% along with this program; if not, write to the Free Software
-% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
-% USA.
-
+% along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
 
 % undocumented usage for fast access with no error checking