diff --git a/license.txt b/license.txt
index b284e9f24..703de8592 100644
--- a/license.txt
+++ b/license.txt
@@ -205,7 +205,7 @@ License: permissive
Unlimited permission is granted to everyone to use, copy, modify or
distribute this software.
-Files: matlab/utilities\graphics\distinguishable_colors.m
+Files: matlab/utilities/graphics/distinguishable_colors.m
Copyright 2010-2011 by Timothy E. Holy
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -228,7 +228,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
-Files: matlab/utilities\graphics\colorspace.m
+Files: matlab/utilities/graphics/colorspace.m
Pascal Getreuer 2005-2010
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/matlab/AIM/dynAIMsolver1.m b/matlab/AIM/dynAIMsolver1.m
index 358915395..52a2ae6f9 100644
--- a/matlab/AIM/dynAIMsolver1.m
+++ b/matlab/AIM/dynAIMsolver1.m
@@ -46,7 +46,7 @@ function [dr,aimcode,rts]=dynAIMsolver1(jacobia_,M_,dr)
%
% GP July 2008
-% Copyright (C) 2008-2012 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/CheckPath.m b/matlab/CheckPath.m
index bd770e0eb..002c9bd17 100644
--- a/matlab/CheckPath.m
+++ b/matlab/CheckPath.m
@@ -12,7 +12,7 @@ function [DirectoryName, info] = CheckPath(type,dname)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2005-2013 Dynare Team
+% Copyright (C) 2005-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/CutSample.m b/matlab/CutSample.m
index 697e56071..1582ec883 100644
--- a/matlab/CutSample.m
+++ b/matlab/CutSample.m
@@ -16,7 +16,7 @@ function CutSample(M_, options_, estim_params_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2005-2015 Dynare Team
+% Copyright (C) 2005-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/GetAllPosteriorDraws.m b/matlab/GetAllPosteriorDraws.m
index d1019fb66..0408da509 100644
--- a/matlab/GetAllPosteriorDraws.m
+++ b/matlab/GetAllPosteriorDraws.m
@@ -16,7 +16,7 @@ function Draws = GetAllPosteriorDraws(column, FirstMhFile, FirstLine, TotalNumbe
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2005-2011 Dynare Team
+% Copyright (C) 2005-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/GetOneDraw.m b/matlab/GetOneDraw.m
index a3e0f9f4b..f8e2a0d63 100644
--- a/matlab/GetOneDraw.m
+++ b/matlab/GetOneDraw.m
@@ -13,7 +13,7 @@ function [xparams, logpost] = GetOneDraw(type)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2005-2015 Dynare Team
+% Copyright (C) 2005-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/GetPosteriorMeanVariance.m b/matlab/GetPosteriorMeanVariance.m
index 285b94480..22d9e6004 100644
--- a/matlab/GetPosteriorMeanVariance.m
+++ b/matlab/GetPosteriorMeanVariance.m
@@ -1,6 +1,6 @@
function [mean,variance] = GetPosteriorMeanVariance(M,drop)
-% Copyright (C) 2012-2016 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/MakeAllFigures.m b/matlab/MakeAllFigures.m
index 74e94e4cb..6c3de53ab 100644
--- a/matlab/MakeAllFigures.m
+++ b/matlab/MakeAllFigures.m
@@ -1,6 +1,6 @@
function MakeAllFigures(NumberOfPlots,Caption,FigureProperties,Info)
-% Copyright (C) 2005-2013 Dynare Team
+% Copyright (C) 2005-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/TaRB_optimizer_wrapper.m b/matlab/TaRB_optimizer_wrapper.m
index fe62c5733..948266a23 100644
--- a/matlab/TaRB_optimizer_wrapper.m
+++ b/matlab/TaRB_optimizer_wrapper.m
@@ -21,7 +21,8 @@ function [fval,info,exit_flag,DLIK,Hess,SteadyState,trend_coeff] = TaRB_optimiz
% o SteadyState [double] Vector of doubles, steady state level for the endogenous variables.
% o trend_coeff [double] Matrix of doubles, coefficients of the deterministic trend in the measurement equation
%
-% Copyright (C) 2015-16 Dynare Team
+
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/Tracing.m b/matlab/Tracing.m
index 4d5348ad0..d3ba8c0be 100644
--- a/matlab/Tracing.m
+++ b/matlab/Tracing.m
@@ -14,7 +14,7 @@ function [] = Tracing()
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2010 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/add_filter_subtitle.m b/matlab/add_filter_subtitle.m
index 689b8a5ac..4b0a63ede 100644
--- a/matlab/add_filter_subtitle.m
+++ b/matlab/add_filter_subtitle.m
@@ -1,5 +1,22 @@
function title=add_filter_subtitle(title,options_)
+% Copyright (C) 2015-2017 Dynare Team
+%
+% 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.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
+
if ~options_.hp_filter && ~options_.one_sided_hp_filter && ~options_.bandpass.indicator %do not filter
%nothing to add here
elseif ~options_.hp_filter && ~options_.one_sided_hp_filter && options_.bandpass.indicator
diff --git a/matlab/autoregressive_process_specification.m b/matlab/autoregressive_process_specification.m
index 3c909a9b4..6f73b7e05 100644
--- a/matlab/autoregressive_process_specification.m
+++ b/matlab/autoregressive_process_specification.m
@@ -43,7 +43,7 @@ function [InnovationVariance,AutoregressiveParameters] = autoregressive_process_
%
% \sigma^2 = \gamma(0)*(1-PHI'*v)
-% Copyright (C) 2009 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/bksup0.m b/matlab/bksup0.m
index 82dfaab94..b801e40e2 100644
--- a/matlab/bksup0.m
+++ b/matlab/bksup0.m
@@ -11,7 +11,7 @@ function d = bksup0(c,ny,jcf,iyf,icf,periods)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2009 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/bksup1.m b/matlab/bksup1.m
index 4a7340976..4e6fb733c 100644
--- a/matlab/bksup1.m
+++ b/matlab/bksup1.m
@@ -12,7 +12,7 @@ function d = bksup1(c,ny,jcf,iyf,periods)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2010 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/bksupk.m b/matlab/bksupk.m
index c33f0a551..64de63b8b 100644
--- a/matlab/bksupk.m
+++ b/matlab/bksupk.m
@@ -15,7 +15,7 @@ function d1 = bksupk(ny,fid,jcf,icc1)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2011 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/bseastr.m b/matlab/bseastr.m
index 7222e2a7b..c8b2de0fc 100644
--- a/matlab/bseastr.m
+++ b/matlab/bseastr.m
@@ -1,6 +1,6 @@
function x = bseastr(s1,s2)
-% Copyright (C) 2001-2009 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/bvar_density.m b/matlab/bvar_density.m
index 53eebebd1..5c75f18f8 100644
--- a/matlab/bvar_density.m
+++ b/matlab/bvar_density.m
@@ -12,7 +12,7 @@ function bvar_density(maxnlags)
% none
% Copyright (C) 2003-2007 Christopher Sims
-% Copyright (C) 2007-2016 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/bvar_irf.m b/matlab/bvar_irf.m
index 408eb5544..5f017aa7d 100644
--- a/matlab/bvar_irf.m
+++ b/matlab/bvar_irf.m
@@ -11,7 +11,7 @@ function bvar_irf(nlags,identification)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2007-2016 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/bvar_toolbox.m b/matlab/bvar_toolbox.m
index 67d505f00..4393e21ac 100644
--- a/matlab/bvar_toolbox.m
+++ b/matlab/bvar_toolbox.m
@@ -42,7 +42,7 @@ function [ny, nx, posterior, prior, forecast_data] = bvar_toolbox(nlags)
% - bvar_prior_{tau,decay,lambda,mu,omega,flat,train}
% Copyright (C) 2003-2007 Christopher Sims
-% Copyright (C) 2007-2012 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/cartesian_product_of_sets.m b/matlab/cartesian_product_of_sets.m
index 7362ba671..9fbe37c07 100644
--- a/matlab/cartesian_product_of_sets.m
+++ b/matlab/cartesian_product_of_sets.m
@@ -31,7 +31,7 @@ function cprod = cartesian_product_of_sets(varargin)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/cellofchar2mfile.m b/matlab/cellofchar2mfile.m
index 206a6bbce..6160f5a47 100644
--- a/matlab/cellofchar2mfile.m
+++ b/matlab/cellofchar2mfile.m
@@ -9,7 +9,7 @@ function cellofchar2mfile(fname, c, cname)
% OUTPUTS
% None.
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/check_for_calibrated_covariances.m b/matlab/check_for_calibrated_covariances.m
index ecc5d85fe..7bf00e6a4 100644
--- a/matlab/check_for_calibrated_covariances.m
+++ b/matlab/check_for_calibrated_covariances.m
@@ -12,7 +12,7 @@ function estim_params=check_for_calibrated_covariances(xparam1,estim_params,M)
% Notes: M is local to this function and not updated when calling
% set_all_parameters
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/check_matlab_path.m b/matlab/check_matlab_path.m
index e98988da1..8f0d187c3 100644
--- a/matlab/check_matlab_path.m
+++ b/matlab/check_matlab_path.m
@@ -1,6 +1,6 @@
function check_matlab_path(change_path_flag)
-% Copyright (C) 2015-2016 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/check_posterior_analysis_data.m b/matlab/check_posterior_analysis_data.m
index 2e8ac0101..75aa78a7f 100644
--- a/matlab/check_posterior_analysis_data.m
+++ b/matlab/check_posterior_analysis_data.m
@@ -17,7 +17,7 @@ function [info,description] = check_posterior_analysis_data(type,M_)
% info = 6; % Ok (nothing to do ;-)
% description [string] Message corresponding to info
-% Copyright (C) 2008-2015 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/check_prior_analysis_data.m b/matlab/check_prior_analysis_data.m
index 81d11c519..e0570cc68 100644
--- a/matlab/check_prior_analysis_data.m
+++ b/matlab/check_prior_analysis_data.m
@@ -18,7 +18,7 @@ function [info,description] = check_prior_analysis_data(type,M_)
% description [string] Message corresponding to info
-% Copyright (C) 2009-2015 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/check_prior_bounds.m b/matlab/check_prior_bounds.m
index 41a16e790..9c982ff4d 100644
--- a/matlab/check_prior_bounds.m
+++ b/matlab/check_prior_bounds.m
@@ -10,7 +10,7 @@ function check_prior_bounds(xparam1,bounds,M_,estim_params_,options_,bayestopt_)
% -options_ [structure] characterizing the options
% -bayestopt_ [structure] characterizing priors
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/chol_SE.m b/matlab/chol_SE.m
index 992d88a81..48b70edf4 100644
--- a/matlab/chol_SE.m
+++ b/matlab/chol_SE.m
@@ -28,16 +28,16 @@ function [R,indef, E, P]=chol_SE(A,pivoting)
% the cost of introduding a permutation.
%
%
-% Inputs
-% A [n*n] Matrix to be factorized
-% pivoting [scalar] dummy whether pivoting is used
+% INPUTS
+% - A [n*n] Matrix to be factorized
+% - pivoting [scalar] dummy whether pivoting is used
%
-% Outputs
-% R [n*n] originally stored in lower triangular portion of A, including the main diagonal
+% OUTPUTS
+% - R [n*n] originally stored in lower triangular portion of A, including the main diagonal
%
-% E [n*1] Elements added to the diagonal of A
-% P [n*1] record of how the rows and columns of the matrix were permuted while
-% performing the decomposition
+% - E [n*1] Elements added to the diagonal of A
+% - P [n*1] record of how the rows and columns of the matrix were permuted while
+% performing the decomposition
%
% REFERENCES:
% This implementation is based on
@@ -51,9 +51,10 @@ function [R,indef, E, P]=chol_SE(A,pivoting)
%
%
% Author: Johannes Pfeifer based on Eskow/Schnabel (1991)
-%
+
% Copyright (C) 2015 Johannes Pfeifer
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
+%
% This file is part of Dynare.
%
% Dynare is free software: you can redistribute it and/or modify
diff --git a/matlab/clear_persistent_variables.m b/matlab/clear_persistent_variables.m
index acc7cd56c..c3250fb4d 100644
--- a/matlab/clear_persistent_variables.m
+++ b/matlab/clear_persistent_variables.m
@@ -2,7 +2,7 @@ function clear_persistent_variables(folder, writelistofroutinestobecleared)
% Clear all the functions with persistent variables in directory folder (and subdirectories).
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/cli/prior.m b/matlab/cli/prior.m
index 843d64689..b090aba76 100644
--- a/matlab/cli/prior.m
+++ b/matlab/cli/prior.m
@@ -11,7 +11,7 @@ function varargout = prior(varargin)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2015-2016 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/collect_latex_files.m b/matlab/collect_latex_files.m
index e150baab5..45902f1ba 100644
--- a/matlab/collect_latex_files.m
+++ b/matlab/collect_latex_files.m
@@ -8,7 +8,7 @@ function collect_latex_files
% - The packages loaded enable pdflatex to run
% - The _dynamic and _static TeX-model files are not included as they are standalone TeX-files
-% Copyright (C) 2015-16 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/compute_mh_covariance_matrix.m b/matlab/compute_mh_covariance_matrix.m
index c13eb28bf..d7885c7f9 100644
--- a/matlab/compute_mh_covariance_matrix.m
+++ b/matlab/compute_mh_covariance_matrix.m
@@ -15,7 +15,7 @@ function [posterior_mean,posterior_covariance,posterior_mode,posterior_kernel_at
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 2006-2014 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/compute_model_moments.m b/matlab/compute_model_moments.m
index 64894e6ec..50c1d0072 100644
--- a/matlab/compute_model_moments.m
+++ b/matlab/compute_model_moments.m
@@ -11,7 +11,7 @@ function moments=compute_model_moments(dr,M_,options_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2014 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/compute_moments_varendo.m b/matlab/compute_moments_varendo.m
index a811a12a6..c072f9c10 100644
--- a/matlab/compute_moments_varendo.m
+++ b/matlab/compute_moments_varendo.m
@@ -16,7 +16,7 @@ function oo_ = compute_moments_varendo(type,options_,M_,oo_,var_list_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2016 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/compute_overall_acceptance_ratio.m b/matlab/compute_overall_acceptance_ratio.m
index 448fac02b..90db1d374 100644
--- a/matlab/compute_overall_acceptance_ratio.m
+++ b/matlab/compute_overall_acceptance_ratio.m
@@ -1,6 +1,6 @@
function overallacceptanceratio = compute_overall_acceptance_ratio(MetropolisFolder, ModelName)
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/conditional_variance_decomposition.m b/matlab/conditional_variance_decomposition.m
index 25b236b05..177684ce6 100644
--- a/matlab/conditional_variance_decomposition.m
+++ b/matlab/conditional_variance_decomposition.m
@@ -16,7 +16,7 @@ function ConditionalVarianceDecomposition = conditional_variance_decomposition(S
%
% [1] In this version, absence of measurement errors is assumed...
-% Copyright (C) 2010-2011 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/conditional_variance_decomposition_mc_analysis.m b/matlab/conditional_variance_decomposition_mc_analysis.m
index 7d41766c5..c320554eb 100644
--- a/matlab/conditional_variance_decomposition_mc_analysis.m
+++ b/matlab/conditional_variance_decomposition_mc_analysis.m
@@ -23,7 +23,7 @@ function oo_ = ...
% OUTPUTS
% oo_ [structure] Dynare structure where the results are saved.
-% Copyright (C) 2009-2016 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/convergence_diagnostics/mcmc_ifac.m b/matlab/convergence_diagnostics/mcmc_ifac.m
index faf7d1659..32b72bcee 100644
--- a/matlab/convergence_diagnostics/mcmc_ifac.m
+++ b/matlab/convergence_diagnostics/mcmc_ifac.m
@@ -36,7 +36,7 @@ function Ifac = mcmc_ifac(X, Nc)
% consistent covariance matrix estimation", Econometrica, 59(3), p. 817-858
-% Copyright (C) 2015-16 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/convergence_diagnostics/raftery_lewis.m b/matlab/convergence_diagnostics/raftery_lewis.m
index 342e36ab5..ab0e51cb7 100644
--- a/matlab/convergence_diagnostics/raftery_lewis.m
+++ b/matlab/convergence_diagnostics/raftery_lewis.m
@@ -46,7 +46,7 @@ function [raftery_lewis] = raftery_lewis(runs,q,r,s)
% ----------------------------------------------------
% Copyright (C) 2016 Benjamin Born and Johannes Pfeifer
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/convert_dyn_45_to_44.m b/matlab/convert_dyn_45_to_44.m
index 14859d678..3f0561b58 100644
--- a/matlab/convert_dyn_45_to_44.m
+++ b/matlab/convert_dyn_45_to_44.m
@@ -13,7 +13,7 @@ function oo_ = convert_dyn_45_to_44(M_, options_, oo_,bayestopt_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2015-2016 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/correlation_mc_analysis.m b/matlab/correlation_mc_analysis.m
index 5ba0ca813..7b3d63848 100644
--- a/matlab/correlation_mc_analysis.m
+++ b/matlab/correlation_mc_analysis.m
@@ -2,7 +2,7 @@ function oo_ = correlation_mc_analysis(SampleSize,type,dname,fname,vartan,nvar,v
% This function analyses the (posterior or prior) distribution of the
% endogenous variables correlation function.
-% Copyright (C) 2008-2015 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/covariance_mc_analysis.m b/matlab/covariance_mc_analysis.m
index 16b46eb9a..ebf3602a2 100644
--- a/matlab/covariance_mc_analysis.m
+++ b/matlab/covariance_mc_analysis.m
@@ -19,7 +19,7 @@ function oo_ = covariance_mc_analysis(NumberOfSimulations,type,dname,fname,varta
% OUTPUTS
% oo_ [structure] Dynare structure where the results are saved.
-% Copyright (C) 2008-2015 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/csolve.m b/matlab/csolve.m
index a0db73369..e45a4b2ff 100644
--- a/matlab/csolve.m
+++ b/matlab/csolve.m
@@ -22,7 +22,7 @@ function [x,rc] = csolve(FUN,x,gradfun,crit,itmax,varargin)
% http://sims.princeton.edu/yftp/optimize/mfiles/csolve.m
% Copyright (C) 1993-2007 Christopher Sims
-% Copyright (C) 2007-2011 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/cubature_with_gaussian_weight.m b/matlab/cubature_with_gaussian_weight.m
index 8e31d1f84..da93fbe55 100644
--- a/matlab/cubature_with_gaussian_weight.m
+++ b/matlab/cubature_with_gaussian_weight.m
@@ -34,7 +34,7 @@ function [nodes, weights] = cubature_with_gaussian_weight(d,n,method)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012-2014 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dcompare.m b/matlab/dcompare.m
index 9a6ac2c7b..d50541f12 100644
--- a/matlab/dcompare.m
+++ b/matlab/dcompare.m
@@ -1,6 +1,6 @@
function dcompare(s1)
-% Copyright (C) 2001-2011 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/delete_mh_history_files.m b/matlab/delete_mh_history_files.m
index 635bb9c94..084f3e783 100644
--- a/matlab/delete_mh_history_files.m
+++ b/matlab/delete_mh_history_files.m
@@ -1,6 +1,6 @@
function info = delete_mh_history_files(MetropolisFolder, ModelName)
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/discretionary_policy_1.m b/matlab/discretionary_policy_1.m
index 9657dfa02..0837067b2 100644
--- a/matlab/discretionary_policy_1.m
+++ b/matlab/discretionary_policy_1.m
@@ -1,6 +1,6 @@
function [dr,ys,info]=discretionary_policy_1(oo_,Instruments)
-% Copyright (C) 2007-2016 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/disp_model_summary.m b/matlab/disp_model_summary.m
index 563efad9f..b04d025b4 100644
--- a/matlab/disp_model_summary.m
+++ b/matlab/disp_model_summary.m
@@ -8,7 +8,7 @@ function disp_model_summary(M,dr,options)
% dr [matlab structure] Decision rules
% options [matlab structure] Options
%
-% Copyright (C) 2001-2016 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/disp_steady_state.m b/matlab/disp_steady_state.m
index 81984ed68..0543affc7 100644
--- a/matlab/disp_steady_state.m
+++ b/matlab/disp_steady_state.m
@@ -12,7 +12,7 @@ function disp_steady_state(M,oo)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2013 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/display_conditional_variance_decomposition.m b/matlab/display_conditional_variance_decomposition.m
index 4f5836925..f0c115ad4 100644
--- a/matlab/display_conditional_variance_decomposition.m
+++ b/matlab/display_conditional_variance_decomposition.m
@@ -13,7 +13,7 @@ function display_conditional_variance_decomposition(conditional_decomposition_ar
% OUTPUTS
% none
%
-% Copyright (C) 2010-2016 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/display_estimation_results_table.m b/matlab/display_estimation_results_table.m
index aaf23cb4f..6faf6a834 100644
--- a/matlab/display_estimation_results_table.m
+++ b/matlab/display_estimation_results_table.m
@@ -20,7 +20,7 @@ function oo_=display_estimation_results_table(xparam1,stdh,M_,options_,estim_par
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 2014-2016 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/display_problematic_vars_Jacobian.m b/matlab/display_problematic_vars_Jacobian.m
index c1bb0429e..310b37fa5 100644
--- a/matlab/display_problematic_vars_Jacobian.m
+++ b/matlab/display_problematic_vars_Jacobian.m
@@ -16,7 +16,7 @@ function []=display_problematic_vars_Jacobian(problemrow,problemcol,M_,x,type,ca
% none.
%
-% Copyright (C) 2014-16 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/distributions/beta_specification.m b/matlab/distributions/beta_specification.m
index 9d84f04da..df804812c 100644
--- a/matlab/distributions/beta_specification.m
+++ b/matlab/distributions/beta_specification.m
@@ -12,7 +12,7 @@ function [a, b] = beta_specification(mu, sigma2, lb, ub, name) % --*-- Unitary
% - a [double] First hyperparameter of the Beta density.
% - b [double] Second hyperparameter of the Beta density.
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/distributions/compute_prior_mode.m b/matlab/distributions/compute_prior_mode.m
index 57a0d1035..86c20dae8 100644
--- a/matlab/distributions/compute_prior_mode.m
+++ b/matlab/distributions/compute_prior_mode.m
@@ -23,7 +23,7 @@ function m = compute_prior_mode(hyperparameters,shape) % --*-- Unitary tests --*
% [3] The uniform distribution has an infinity of modes. In this case the function returns the prior mean.
% [4] For the beta distribution we can have 1, 2 or an infinity of modes.
-% Copyright (C) 2009-2016 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/distributions/gamma_specification.m b/matlab/distributions/gamma_specification.m
index 279c0702b..c78713407 100644
--- a/matlab/distributions/gamma_specification.m
+++ b/matlab/distributions/gamma_specification.m
@@ -12,7 +12,7 @@ function [a, b] = gamma_specification(mu, sigma2, lb, name) % --*-- Unitary te
% - a [double] First hyperparameter of the Gamma density (shape).
% - b [double] Second hyperparameter of the Gamma density (scale).
-% Copyright (C) 2015-2016 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/distributions/mode_and_variance_to_mean.m b/matlab/distributions/mode_and_variance_to_mean.m
index 6035721fa..8611955b0 100644
--- a/matlab/distributions/mode_and_variance_to_mean.m
+++ b/matlab/distributions/mode_and_variance_to_mean.m
@@ -17,7 +17,7 @@ function [mu, parameters] = mode_and_variance_to_mean(m,s2,distribution,lower_bo
% parameters [double] 2*1 vector, parameters of the distribution.
%
-% Copyright (C) 2009 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/distributions/rand_inverse_wishart.m b/matlab/distributions/rand_inverse_wishart.m
index 3c65c1867..4f3675e3c 100644
--- a/matlab/distributions/rand_inverse_wishart.m
+++ b/matlab/distributions/rand_inverse_wishart.m
@@ -24,7 +24,7 @@ function G = rand_inverse_wishart(m, v, H_inv_upper_chol)
% none
%
-% Copyright (C) 2003-2009 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/distributions/rand_matrix_normal.m b/matlab/distributions/rand_matrix_normal.m
index 04c6273f4..0de2faf08 100644
--- a/matlab/distributions/rand_matrix_normal.m
+++ b/matlab/distributions/rand_matrix_normal.m
@@ -20,7 +20,7 @@ function B = rand_matrix_normal(n, p, M, Omega_lower_chol, Sigma_lower_chol)
% SPECIAL REQUIREMENTS
% Same notations than: http://en.wikipedia.org/wiki/Matrix_normal_distribution
-% Copyright (C) 2003-2009 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/distributions/rand_multivariate_normal.m b/matlab/distributions/rand_multivariate_normal.m
index 992f9c9e3..d74d74b7b 100644
--- a/matlab/distributions/rand_multivariate_normal.m
+++ b/matlab/distributions/rand_multivariate_normal.m
@@ -14,7 +14,7 @@ function draw = rand_multivariate_normal(Mean,Sigma_upper_chol,n)
%
% SPECIAL REQUIREMENTS
-% Copyright (C) 2003-2009 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/distributions/rand_multivariate_student.m b/matlab/distributions/rand_multivariate_student.m
index cdf06b2f1..69b26e85e 100644
--- a/matlab/distributions/rand_multivariate_student.m
+++ b/matlab/distributions/rand_multivariate_student.m
@@ -23,7 +23,7 @@ function draw = rand_multivariate_student(Mean,Sigma_upper_chol,df)
% U~\Chi^2_{\nu}
% The latter is constructed as the sum of \nu standard normals.
-% Copyright (C) 2003-2015 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/distributions/weibull_specification.m b/matlab/distributions/weibull_specification.m
index 064924cf4..b9d498a53 100644
--- a/matlab/distributions/weibull_specification.m
+++ b/matlab/distributions/weibull_specification.m
@@ -9,7 +9,7 @@ function [shape, scale] = weibull_specification(mu, sigma2, lb, name) % --*--
%
%
-% Copyright (C) 2015-2016 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/do_parameter_initialization.m b/matlab/do_parameter_initialization.m
index 161c14641..145984cec 100644
--- a/matlab/do_parameter_initialization.m
+++ b/matlab/do_parameter_initialization.m
@@ -23,7 +23,7 @@ function [xparam1,estim_params_,xparam1_explicitly_initialized,xparam1_properly_
% SPECIAL REQUIREMENTS
% None
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dsample.m b/matlab/dsample.m
index 761f3290f..945c0fd86 100644
--- a/matlab/dsample.m
+++ b/matlab/dsample.m
@@ -15,7 +15,7 @@ function dsample(s1,s2)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2009 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dy_date.m b/matlab/dy_date.m
index 980e83897..9d9bb31f4 100644
--- a/matlab/dy_date.m
+++ b/matlab/dy_date.m
@@ -1,6 +1,6 @@
function y=dy_date(year,period)
-% Copyright (C) 2005-2009 Dynare Team
+% Copyright (C) 2005-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dyn2vec.m b/matlab/dyn2vec.m
index 269027554..50e62b4f1 100644
--- a/matlab/dyn2vec.m
+++ b/matlab/dyn2vec.m
@@ -14,7 +14,7 @@ function [z,zss]=dyn2vec(s1,s2)
% none
%
-% Copyright (C) 2001-2009 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dyn_diag_vech.m b/matlab/dyn_diag_vech.m
index 449103808..e8b9cf338 100644
--- a/matlab/dyn_diag_vech.m
+++ b/matlab/dyn_diag_vech.m
@@ -8,7 +8,7 @@ function d = dyn_diag_vech(Vector)
% OUTPUTS
% d [double] a n*1 vector, where n solves n*(n+1)/2=m.
-% Copyright (C) 2010 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dyn_latex_table.m b/matlab/dyn_latex_table.m
index ca14e351f..8cfdc6e53 100644
--- a/matlab/dyn_latex_table.m
+++ b/matlab/dyn_latex_table.m
@@ -1,7 +1,7 @@
function dyn_latex_table(M_,options_,title,LaTeXtitle,headers,labels,values,label_width,val_width,val_precis,optional_header)
%function dyn_latex_table(M_,options_,title,LaTeXtitle,headers,labels,values,label_width,val_width,val_precis,optional_header)
-% Copyright (C) 2015-2016 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dyn_risky_steadystate_solver.m b/matlab/dyn_risky_steadystate_solver.m
index 3ea116df9..b677c7840 100644
--- a/matlab/dyn_risky_steadystate_solver.m
+++ b/matlab/dyn_risky_steadystate_solver.m
@@ -62,7 +62,7 @@ function [dr,info] = dyn_risky_steadystate_solver(ys0,M, ...
%! @end deftypefn
%@eod:
-% Copyright (C) 2001-2014 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dyn_second_order_solver.m b/matlab/dyn_second_order_solver.m
index 11de2659b..df6ba7693 100644
--- a/matlab/dyn_second_order_solver.m
+++ b/matlab/dyn_second_order_solver.m
@@ -32,7 +32,7 @@ function dr = dyn_second_order_solver(jacobia,hessian_mat,dr,M_,threads_ABC,thre
%! @end deftypefn
%@eod:
-% Copyright (C) 2001-2015 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dyn_unvech.m b/matlab/dyn_unvech.m
index 6ed9c40f9..0c6c853cc 100644
--- a/matlab/dyn_unvech.m
+++ b/matlab/dyn_unvech.m
@@ -7,7 +7,7 @@ function Matrix = dyn_unvech(Vector)
% OUTPUTS
% Matrix [double] a n*n symetric matrix, where n solves n*(n+1)/2=m.
-% Copyright (C) 2010 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dyn_vech.m b/matlab/dyn_vech.m
index fef8d134d..dc18f974b 100644
--- a/matlab/dyn_vech.m
+++ b/matlab/dyn_vech.m
@@ -7,7 +7,7 @@ function Vector = dyn_vech(Matrix)
% OUTPUTS
% Vector [double] a n*(n+1)/2 vector.
-% Copyright (C) 2010 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dynare_gradient.m b/matlab/dynare_gradient.m
index fc15ba633..2f4dfc9d4 100644
--- a/matlab/dynare_gradient.m
+++ b/matlab/dynare_gradient.m
@@ -12,7 +12,7 @@ function [F,G] = dynare_gradient(fcn,x,epsilon,varargin)
%
% OUTPUTS
%
-% Copyright (C) 2010-2012 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dynare_graph_close.m b/matlab/dynare_graph_close.m
index a91d9f63e..72622314d 100644
--- a/matlab/dynare_graph_close.m
+++ b/matlab/dynare_graph_close.m
@@ -11,7 +11,7 @@ function dynare_graph_close()
% SPECIAL REQUIREMENT
% none
-% Copyright (C) 2006-2009 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dynatype.m b/matlab/dynatype.m
index a65b2961b..517bcc0b1 100644
--- a/matlab/dynatype.m
+++ b/matlab/dynatype.m
@@ -13,7 +13,7 @@ function dynatype (s,var_list)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2009 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/dyntable.m b/matlab/dyntable.m
index b7a226264..5b632cde3 100644
--- a/matlab/dyntable.m
+++ b/matlab/dyntable.m
@@ -11,7 +11,7 @@ function dyntable(options_,title,headers,labels,values,label_width,val_width,val
% val_precis [integer] precision of displayed values
%
%
-% Copyright (C) 2002-2016 Dynare Team
+% Copyright (C) 2002-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/endogenous_prior.m b/matlab/endogenous_prior.m
index 0c2fda36d..26ea7ce5f 100644
--- a/matlab/endogenous_prior.m
+++ b/matlab/endogenous_prior.m
@@ -24,7 +24,7 @@ function [lnpriormom] = endogenous_prior(data,Pstar,BayesInfo,H)
% Copyright (C) 2011 Lawrence J. Christiano, Mathias Trabandt and Karl Walentin
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ep/euler_equation_error.m b/matlab/ep/euler_equation_error.m
index 758f8785e..7496852fb 100644
--- a/matlab/ep/euler_equation_error.m
+++ b/matlab/ep/euler_equation_error.m
@@ -1,5 +1,22 @@
function e = euler_equation_error(y0,x,innovations,M,options,oo,pfm,nodes,weights)
+% Copyright (C) 2016-2017 Dynare Team
+%
+% 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.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
+
dynamic_model = str2func([M.fname '_dynamic']);
ep = options.ep;
[y1, info_convergence, endogenousvariablespaths] = extended_path_core(ep.periods, ...
diff --git a/matlab/ep/extended_path.m b/matlab/ep/extended_path.m
index 92f6be081..13747890b 100644
--- a/matlab/ep/extended_path.m
+++ b/matlab/ep/extended_path.m
@@ -19,7 +19,7 @@ function [ts, DynareResults] = extended_path(initialconditions, samplesize, exog
%
% SPECIAL REQUIREMENTS
-% Copyright (C) 2009-2016 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ep/extended_path_core.m b/matlab/ep/extended_path_core.m
index 851a82202..5a99b6f21 100644
--- a/matlab/ep/extended_path_core.m
+++ b/matlab/ep/extended_path_core.m
@@ -4,7 +4,7 @@ function [y, info_convergence, endogenousvariablespaths] = extended_path_core(pe
debug,bytecode_flag,order,M,pfm,algo,solve_algo,stack_solve_algo,...
olmmcp,options,oo,initialguess)
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ep/extended_path_homotopy.m b/matlab/ep/extended_path_homotopy.m
index 47259765c..8036ae50f 100644
--- a/matlab/ep/extended_path_homotopy.m
+++ b/matlab/ep/extended_path_homotopy.m
@@ -1,6 +1,6 @@
function [info_convergence, endo_simul] = extended_path_homotopy(endo_simul, exo_simul, M, options, oo, pfm, ep, order, algo, method, debug)
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ep/extended_path_mc.m b/matlab/ep/extended_path_mc.m
index 72d3a55f4..f31ae2dc9 100644
--- a/matlab/ep/extended_path_mc.m
+++ b/matlab/ep/extended_path_mc.m
@@ -19,7 +19,7 @@ function Simulations = extended_path_mc(initialconditions, samplesize, replic, e
%
% SPECIAL REQUIREMENTS
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ep/setup_stochastic_perfect_foresight_model_solver.m b/matlab/ep/setup_stochastic_perfect_foresight_model_solver.m
index 0ddf45360..732714d4a 100644
--- a/matlab/ep/setup_stochastic_perfect_foresight_model_solver.m
+++ b/matlab/ep/setup_stochastic_perfect_foresight_model_solver.m
@@ -1,6 +1,6 @@
function pfm = setup_stochastic_perfect_foresight_model_solver(DynareModel,DynareOptions,DynareOutput)
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ep/solve_stochastic_perfect_foresight_model.m b/matlab/ep/solve_stochastic_perfect_foresight_model.m
index 12373d15d..742895f91 100644
--- a/matlab/ep/solve_stochastic_perfect_foresight_model.m
+++ b/matlab/ep/solve_stochastic_perfect_foresight_model.m
@@ -1,6 +1,6 @@
function [flag,endo_simul,err] = solve_stochastic_perfect_foresight_model(endo_simul,exo_simul,pfm,nnodes,order)
-% Copyright (C) 2012-2015 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ep/solve_stochastic_perfect_foresight_model_1.m b/matlab/ep/solve_stochastic_perfect_foresight_model_1.m
index 25a0e1673..3e0ced538 100644
--- a/matlab/ep/solve_stochastic_perfect_foresight_model_1.m
+++ b/matlab/ep/solve_stochastic_perfect_foresight_model_1.m
@@ -1,6 +1,6 @@
function [flag,endo_simul,err,y] = solve_stochastic_perfect_foresight_model_1(endo_simul,exo_simul,Options,pfm,order,varargin)
-% Copyright (C) 2012-2016 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ep_residuals.m b/matlab/ep_residuals.m
index 2d3780cd3..6eea0ef4d 100644
--- a/matlab/ep_residuals.m
+++ b/matlab/ep_residuals.m
@@ -17,7 +17,7 @@ function r = ep_residuals(x, y, ix, iy, steadystate, dr, maximum_lag, endo_nbr)
%
% SPECIAL REQUIREMENTS
-% Copyright (C) 2010-2014 Dynare Team.
+% Copyright (C) 2010-2017 Dynare Team.
%
% This file is part of Dynare.
%
diff --git a/matlab/evaluate_max_dynamic_residual.m b/matlab/evaluate_max_dynamic_residual.m
index ac4dbb32a..9ea67a5fe 100644
--- a/matlab/evaluate_max_dynamic_residual.m
+++ b/matlab/evaluate_max_dynamic_residual.m
@@ -1,6 +1,6 @@
function err = evaluate_max_dynamic_residual(model_dynamic, Y, exogenous_variables, params, steady_state, periods, ny, max_lag, lead_lag_incidence)
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/evaluate_planner_objective.m b/matlab/evaluate_planner_objective.m
index d547be57e..f8d03f978 100644
--- a/matlab/evaluate_planner_objective.m
+++ b/matlab/evaluate_planner_objective.m
@@ -11,7 +11,7 @@ function planner_objective_value = evaluate_planner_objective(M,options,oo)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2007-2015 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/evaluate_posterior_kernel.m b/matlab/evaluate_posterior_kernel.m
index ce4fd1a43..997962127 100644
--- a/matlab/evaluate_posterior_kernel.m
+++ b/matlab/evaluate_posterior_kernel.m
@@ -17,7 +17,7 @@ function lpkern = evaluate_posterior_kernel(parameters,llik)
% [2] This function use persistent variables for the dataset and the description of the missing observations. Consequently, if this function
% is called more than once (by changing the value of parameters) the sample *must not* change.
-% Copyright (C) 2009 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/evaluate_prior.m b/matlab/evaluate_prior.m
index 32288062f..01cede921 100644
--- a/matlab/evaluate_prior.m
+++ b/matlab/evaluate_prior.m
@@ -16,7 +16,7 @@ function [ldens,parameters] = evaluate_prior(parameters)
% REMARKS
% [1] This function cannot evaluate the prior density of a dsge-var model...
-% Copyright (C) 2009-2012 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/evaluate_static_model.m b/matlab/evaluate_static_model.m
index 2328f2b4c..ecf7ebb39 100644
--- a/matlab/evaluate_static_model.m
+++ b/matlab/evaluate_static_model.m
@@ -20,7 +20,7 @@ function [residuals,check1,jacob] = evaluate_static_model(ys,exo_ss,params,M,opt
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2016 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/fastgensylv.m b/matlab/fastgensylv.m
index 0f7340cd1..a8e6e386f 100644
--- a/matlab/fastgensylv.m
+++ b/matlab/fastgensylv.m
@@ -39,7 +39,7 @@ function X = fastgensylv(A, B, C, D, tol,maxit,X0)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ff1_.m b/matlab/ff1_.m
index 6037809f0..1ed766d95 100644
--- a/matlab/ff1_.m
+++ b/matlab/ff1_.m
@@ -12,7 +12,7 @@ function y=ff1_(x)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2008 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ffill.m b/matlab/ffill.m
index 3449ee292..cb8f0d321 100644
--- a/matlab/ffill.m
+++ b/matlab/ffill.m
@@ -15,7 +15,7 @@ function [a,b] = ffill(x,ixc,y)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2009 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/forcst.m b/matlab/forcst.m
index de824258a..d760ca892 100644
--- a/matlab/forcst.m
+++ b/matlab/forcst.m
@@ -22,7 +22,7 @@ function [yf,int_width,int_width_ME]=forcst(dr,y0,horizon,var_list,M_,oo_,option
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2016 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/forcst2.m b/matlab/forcst2.m
index 621d44ec2..1c0d91b24 100644
--- a/matlab/forcst2.m
+++ b/matlab/forcst2.m
@@ -12,7 +12,7 @@ function yf=forcst2(y0,horizon,dr,n)
% Outputs:
% - yf [horizon+ykmin_ by endo_nbr by n] array of forecasts
%
-% Copyright (C) 2008-2016 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/forcst2a.m b/matlab/forcst2a.m
index 72864ac3c..bbac43b71 100644
--- a/matlab/forcst2a.m
+++ b/matlab/forcst2a.m
@@ -9,7 +9,7 @@ function yf=forcst2a(y0,dr,e)
% Outputs:
% - yf [horizon+maximum_endo_lag,endo_nbr] matrix of forecasts
%
-% Copyright (C) 2008-2016 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ftest.m b/matlab/ftest.m
index c72ed49d9..c433bb453 100644
--- a/matlab/ftest.m
+++ b/matlab/ftest.m
@@ -1,6 +1,6 @@
function ftest (s1,s2)
-% Copyright (C) 2001-2010 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gauss_hermite_weights_and_nodes.m b/matlab/gauss_hermite_weights_and_nodes.m
index 37f2ddf92..646033c06 100644
--- a/matlab/gauss_hermite_weights_and_nodes.m
+++ b/matlab/gauss_hermite_weights_and_nodes.m
@@ -31,7 +31,7 @@ function [nodes,weights] = gauss_hermite_weights_and_nodes(n)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011-2014 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gauss_legendre_weights_and_nodes.m b/matlab/gauss_legendre_weights_and_nodes.m
index fa42e9165..074f520d7 100644
--- a/matlab/gauss_legendre_weights_and_nodes.m
+++ b/matlab/gauss_legendre_weights_and_nodes.m
@@ -40,7 +40,7 @@ function [nodes,weights] = gauss_legendre_weights_and_nodes(n,a,b)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012-2014 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gcompare.m b/matlab/gcompare.m
index 861aa894d..6cb02f6a1 100644
--- a/matlab/gcompare.m
+++ b/matlab/gcompare.m
@@ -6,7 +6,7 @@ function gcompare(s1,s2)
% saved by the instruction DYNASAVE. The simulation in file1
% is refered to as the base simulation.
-% Copyright (C) 2001-2010 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/getIrfShocksIndx.m b/matlab/getIrfShocksIndx.m
index 3325a2dfc..788d58cd1 100644
--- a/matlab/getIrfShocksIndx.m
+++ b/matlab/getIrfShocksIndx.m
@@ -8,7 +8,7 @@ function irf_shocks_indx=getIrfShocksIndx()
% Outputs:
% irf_shocks_indx: [1 by n_irf_shocks] vector storing the indices
%
-% Copyright (C) 2011-13 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/get_all_parameters.m b/matlab/get_all_parameters.m
index 8857d6673..289b6a679 100644
--- a/matlab/get_all_parameters.m
+++ b/matlab/get_all_parameters.m
@@ -15,7 +15,7 @@ function xparam1=get_all_parameters(estim_params_,M_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/get_dynare_random_generator_state.m b/matlab/get_dynare_random_generator_state.m
index f5702e704..b2789b054 100644
--- a/matlab/get_dynare_random_generator_state.m
+++ b/matlab/get_dynare_random_generator_state.m
@@ -6,7 +6,7 @@ function [state_u,state_n] = get_dynare_random_generator_state()
% For backward compatibility, we return two vectors, but, in recent
% versions of Matlab and in Octave, we return two identical vectors.
-% Copyright (C) 2010-2013 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/get_file_extension.m b/matlab/get_file_extension.m
index b4fe5a2ad..dad9ee0ac 100644
--- a/matlab/get_file_extension.m
+++ b/matlab/get_file_extension.m
@@ -11,7 +11,7 @@ function ext = get_file_extension(file)
% REMARKS
% If the provided file name has no extension, the routine will return an empty array.
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/get_moments_size.m b/matlab/get_moments_size.m
index a036d1e9c..6515c39b8 100644
--- a/matlab/get_moments_size.m
+++ b/matlab/get_moments_size.m
@@ -11,7 +11,7 @@ function s=get_moments_size(options)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2011 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/get_name_of_the_last_mh_file.m b/matlab/get_name_of_the_last_mh_file.m
index 357c7f88a..e6732a2ef 100644
--- a/matlab/get_name_of_the_last_mh_file.m
+++ b/matlab/get_name_of_the_last_mh_file.m
@@ -11,7 +11,7 @@ function [mhname,info] = get_name_of_the_last_mh_file(M_)
% file. Otherwise info is equal to zero (a likely reason for this is
% that the mcmc simulations were not completed).
-% Copyright (C) 2008-2013 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/get_optimal_policy_discount_factor.m b/matlab/get_optimal_policy_discount_factor.m
index 61a418636..89b605b3b 100644
--- a/matlab/get_optimal_policy_discount_factor.m
+++ b/matlab/get_optimal_policy_discount_factor.m
@@ -13,7 +13,7 @@ function discount_factor=get_optimal_policy_discount_factor(params,param_names)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2007-2011 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/get_param_by_name.m b/matlab/get_param_by_name.m
index 1e5b90718..b06ab5f07 100644
--- a/matlab/get_param_by_name.m
+++ b/matlab/get_param_by_name.m
@@ -11,7 +11,7 @@ function x = get_param_by_name(pname)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2006-2009 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/get_posterior_parameters.m b/matlab/get_posterior_parameters.m
index 3561f6f24..e10616d20 100644
--- a/matlab/get_posterior_parameters.m
+++ b/matlab/get_posterior_parameters.m
@@ -13,7 +13,7 @@ function xparam = get_posterior_parameters(type,field1)
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 2006-2016 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/get_subsamples_range_indx.m b/matlab/get_subsamples_range_indx.m
index cb9b971f5..56c87f286 100644
--- a/matlab/get_subsamples_range_indx.m
+++ b/matlab/get_subsamples_range_indx.m
@@ -16,7 +16,7 @@ function range_indx = get_subsamples_range_indx(subsamples_indx, range_label)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/get_variables_list.m b/matlab/get_variables_list.m
index 966ebf769..b72479b37 100644
--- a/matlab/get_variables_list.m
+++ b/matlab/get_variables_list.m
@@ -16,7 +16,7 @@ function [ivar,vartan,options_] = get_variables_list(options_,M_)
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 2007-2013 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/Morris_Measure_Groups.m b/matlab/gsa/Morris_Measure_Groups.m
index 69dc1d713..1271ed1b6 100644
--- a/matlab/gsa/Morris_Measure_Groups.m
+++ b/matlab/gsa/Morris_Measure_Groups.m
@@ -27,7 +27,7 @@ function [SAmeas, OutMatrix] = Morris_Measure_Groups(NumFact, Sample, Output, p,
%
% Copyright (C) 2005 European Commission
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/Sampling_Function_2.m b/matlab/gsa/Sampling_Function_2.m
index bdb8d03eb..48a8187df 100644
--- a/matlab/gsa/Sampling_Function_2.m
+++ b/matlab/gsa/Sampling_Function_2.m
@@ -56,7 +56,7 @@ function [Outmatrix, OutFact] = Sampling_Function_2(p, k, r, UB, LB, GroupMat)
%
% Copyright (C) 2005 European Commission
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/cumplot.m b/matlab/gsa/cumplot.m
index bc4eb969b..70fe1f475 100644
--- a/matlab/gsa/cumplot.m
+++ b/matlab/gsa/cumplot.m
@@ -6,7 +6,7 @@ function h = cumplot(x)
% marco.ratto@ec.europa.eu
% Copyright (C) 2012 European Commission
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/gsa_plotmatrix.m b/matlab/gsa/gsa_plotmatrix.m
index 634ea4f45..1a12a7e8b 100644
--- a/matlab/gsa/gsa_plotmatrix.m
+++ b/matlab/gsa/gsa_plotmatrix.m
@@ -7,7 +7,7 @@ function gsa_plotmatrix(type,varargin)
% marco.ratto@ec.europa.eu
% Copyright (C) 2011-2012 European Commission
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/gsa_skewness.m b/matlab/gsa/gsa_skewness.m
index 4f09b91ca..dfb6ccfb9 100644
--- a/matlab/gsa/gsa_skewness.m
+++ b/matlab/gsa/gsa_skewness.m
@@ -5,7 +5,7 @@ function s=gsa_skewness(y)
% marco.ratto@ec.europa.eu
% Copyright (C) 2012 European Commission
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/gsa_speed.m b/matlab/gsa/gsa_speed.m
index d3b3d2b46..135036ad2 100644
--- a/matlab/gsa/gsa_speed.m
+++ b/matlab/gsa/gsa_speed.m
@@ -6,7 +6,7 @@ function [tadj, iff] = gsa_speed(A,B,mf,p)
% marco.ratto@ec.europa.eu
% Copyright (C) 2012 European Commission
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/log_trans_.m b/matlab/gsa/log_trans_.m
index 5d35c1c6a..c60119793 100644
--- a/matlab/gsa/log_trans_.m
+++ b/matlab/gsa/log_trans_.m
@@ -5,7 +5,7 @@ function [yy, xdir, isig, lam]=log_trans_(y0,xdir0,isig,lam)
% marco.ratto@ec.europa.eu
% Copyright (C) 2012 European Commission
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/mcf_analysis.m b/matlab/gsa/mcf_analysis.m
index 5523d7d7b..c4de17b8f 100644
--- a/matlab/gsa/mcf_analysis.m
+++ b/matlab/gsa/mcf_analysis.m
@@ -6,7 +6,7 @@ function indmcf = mcf_analysis(lpmat, ibeha, inobeha, options_mcf, DynareOptions
%
% Copyright (C) 2014 European Commission
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/myboxplot.m b/matlab/gsa/myboxplot.m
index cdb4b4661..a83ca922c 100644
--- a/matlab/gsa/myboxplot.m
+++ b/matlab/gsa/myboxplot.m
@@ -6,7 +6,7 @@ function sout = myboxplot (data,notched,symbol,vertical,maxwhisker)
% marco.ratto@ec.europa.eu
% Copyright (C) 2012 European Commission
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/myprctilecol.m b/matlab/gsa/myprctilecol.m
index 2cc7f473f..15ddcfcd4 100644
--- a/matlab/gsa/myprctilecol.m
+++ b/matlab/gsa/myprctilecol.m
@@ -5,7 +5,7 @@ function y = myprctilecol(x,p)
% marco.ratto@ec.europa.eu
% Copyright (C) 2012 European Commission
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/pick.m b/matlab/gsa/pick.m
index 9ff6e2c05..ed50f60cf 100644
--- a/matlab/gsa/pick.m
+++ b/matlab/gsa/pick.m
@@ -1,7 +1,8 @@
function pick
%
% Copyright (C) 2001-2017 European Commission
-%
+% Copyright (C) 2017 DynareTeam
+
% This file is part of GLUEWIN
% GLUEWIN is a MATLAB code designed for analysing the output
% of Monte Carlo runs when empirical observations of the model output are available
diff --git a/matlab/gsa/prior_draw_gsa.m b/matlab/gsa/prior_draw_gsa.m
index 3078b3f0c..c3c92d40d 100644
--- a/matlab/gsa/prior_draw_gsa.m
+++ b/matlab/gsa/prior_draw_gsa.m
@@ -19,7 +19,7 @@ function pdraw = prior_draw_gsa(init,rdraw)
% marco.ratto@ec.europa.eu
% Copyright (C) 2012-2015 European Commission
-% Copyright (C) 2012-2015 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/read_data.m b/matlab/gsa/read_data.m
index 9b8c16c40..bb2c71a61 100644
--- a/matlab/gsa/read_data.m
+++ b/matlab/gsa/read_data.m
@@ -4,7 +4,7 @@ function [gend, data] = read_data()
% marco.ratto@ec.europa.eu
% Copyright (C) 2012-2015 European Commission
-% Copyright (C) 2012-2015 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/set_shocks_param.m b/matlab/gsa/set_shocks_param.m
index 485f64ec9..69c12fdbb 100644
--- a/matlab/gsa/set_shocks_param.m
+++ b/matlab/gsa/set_shocks_param.m
@@ -2,7 +2,7 @@ function set_shocks_param(xparam1)
% function set_shocks_param(xparam1)
% Set the structural and measurement error variances and covariances
-% Copyright (C) 2012-2015 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/smirnov.m b/matlab/gsa/smirnov.m
index a2fa7f472..11dd4df7d 100644
--- a/matlab/gsa/smirnov.m
+++ b/matlab/gsa/smirnov.m
@@ -7,7 +7,7 @@ function [H,prob,d] = smirnov(x1 , x2 , alpha, iflag )
% marco.ratto@ec.europa.eu
% Copyright (C) 2012 European Commission
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/stab_map_.m b/matlab/gsa/stab_map_.m
index 03ad56e88..52f8d1588 100644
--- a/matlab/gsa/stab_map_.m
+++ b/matlab/gsa/stab_map_.m
@@ -35,7 +35,7 @@ function x0 = stab_map_(OutputDirectoryName,opt_gsa)
% marco.ratto@ec.europa.eu
% Copyright (C) 2012-2016 European Commission
-% Copyright (C) 2012-2016 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/stand_.m b/matlab/gsa/stand_.m
index f4bb05ce1..0a53f1a3b 100644
--- a/matlab/gsa/stand_.m
+++ b/matlab/gsa/stand_.m
@@ -14,7 +14,7 @@ function [y, meany, stdy] = stand_(x)
% marco.ratto@ec.europa.eu
% Copyright (C) 2012 European Commission
-% Copyright (C) 2012 Dynare Team%
+% Copyright (C) 2012-2017 Dynare Team%
% This file is part of Dynare.
%
% Dynare is free software: you can redistribute it and/or modify
diff --git a/matlab/gsa/tcrit.m b/matlab/gsa/tcrit.m
index cc7c8ad6a..d65b97a39 100644
--- a/matlab/gsa/tcrit.m
+++ b/matlab/gsa/tcrit.m
@@ -9,7 +9,7 @@ function t_crit = tcrit(n,pval0)
% marco.ratto@ec.europa.eu
% Copyright (C) 2011-2012 European Commission
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/teff.m b/matlab/gsa/teff.m
index e047256a0..8ebea8d1c 100644
--- a/matlab/gsa/teff.m
+++ b/matlab/gsa/teff.m
@@ -9,7 +9,7 @@ function [yt, j0, ir, ic]=teff(T,Nsam,istable)
% M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
% Copyright (C) 2012 European Commission
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/gsa/trank.m b/matlab/gsa/trank.m
index 914d3849c..eb39f1647 100644
--- a/matlab/gsa/trank.m
+++ b/matlab/gsa/trank.m
@@ -10,7 +10,7 @@ function yr = trank(y)
% M. Ratto, Global Sensitivity Analysis for Macroeconomic models, MIMEO, 2006.
% Copyright (C) 2012 European Commission
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/hessian_sparse.m b/matlab/hessian_sparse.m
index a15024c34..1d7a75dbe 100644
--- a/matlab/hessian_sparse.m
+++ b/matlab/hessian_sparse.m
@@ -18,7 +18,7 @@ function hessian_mat = hessian_sparse(func,x,gstep,varargin)
% none
%
-% Copyright (C) 2001-2012 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/histvalf.m b/matlab/histvalf.m
index 75838ec53..580c9be92 100644
--- a/matlab/histvalf.m
+++ b/matlab/histvalf.m
@@ -1,6 +1,6 @@
function histvalf(fname)
-% Copyright (C) 2014-2015 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/homotopy1.m b/matlab/homotopy1.m
index 956a86431..e849fceca 100644
--- a/matlab/homotopy1.m
+++ b/matlab/homotopy1.m
@@ -30,7 +30,7 @@ function [M,oo,info,ip,ix,ixd] = homotopy1(values, step_nbr, M, options, oo)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2012 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/homotopy2.m b/matlab/homotopy2.m
index efcdbf85e..7ec87258d 100644
--- a/matlab/homotopy2.m
+++ b/matlab/homotopy2.m
@@ -25,7 +25,7 @@ function homotopy2(values, step_nbr)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2012 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/homotopy3.m b/matlab/homotopy3.m
index 2f3a4f317..b4b46d6f2 100644
--- a/matlab/homotopy3.m
+++ b/matlab/homotopy3.m
@@ -33,7 +33,7 @@ function [M,oo,info,ip,ix,ixd]=homotopy3(values, step_nbr, M, options, oo)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2012 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/indnv.m b/matlab/indnv.m
index 71b40cd3e..0cc88ab5b 100644
--- a/matlab/indnv.m
+++ b/matlab/indnv.m
@@ -13,7 +13,7 @@ function a=indnv(x,y)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2009 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/init_plan.m b/matlab/init_plan.m
index 721ba40fb..c82433be3 100644
--- a/matlab/init_plan.m
+++ b/matlab/init_plan.m
@@ -9,7 +9,7 @@ function plan = init_plan(date)
% plan [structure] Returns a structure containing a new forecast scenario
%
%
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/initialize_from_mode.m b/matlab/initialize_from_mode.m
index 2e5707158..4521ec255 100644
--- a/matlab/initialize_from_mode.m
+++ b/matlab/initialize_from_mode.m
@@ -14,7 +14,7 @@ function estim_params_ = initialize_from_mode(fname,M_,estim_params_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2011 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/initvalf.m b/matlab/initvalf.m
index 9d6ae9bc1..afffede43 100644
--- a/matlab/initvalf.m
+++ b/matlab/initvalf.m
@@ -13,7 +13,7 @@ function initvalf(fname_)
% All variables local to this function have an underscore appended to
% their name, to minimize clashes with model variables loaded by this function.
-% Copyright (C) 2003-2014 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/interpret_resol_info.m b/matlab/interpret_resol_info.m
index e35dbe696..45b3993ff 100644
--- a/matlab/interpret_resol_info.m
+++ b/matlab/interpret_resol_info.m
@@ -9,7 +9,7 @@ function message = interpret_resol_info(info)
% OUTPUTS
% - message [string] Description of the issue preventing model's resolution.
-% Copyright (C) 2001-2016 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/irf.m b/matlab/irf.m
index 13c8f36c1..c80b65b1b 100644
--- a/matlab/irf.m
+++ b/matlab/irf.m
@@ -17,7 +17,7 @@ function y = irf(dr, e1, long, drop, replic, iorder)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2010 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/isolder.m b/matlab/isolder.m
index 534ba5438..d364c5c62 100644
--- a/matlab/isolder.m
+++ b/matlab/isolder.m
@@ -9,7 +9,7 @@ function b = isolder(f, F) % --*-- Unitary tests --*--
% OUTPUT
% - b [logical]
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/kalman/build_selection_matrix.m b/matlab/kalman/build_selection_matrix.m
index adec3f330..e9899591c 100644
--- a/matlab/kalman/build_selection_matrix.m
+++ b/matlab/kalman/build_selection_matrix.m
@@ -2,7 +2,7 @@ function Z = build_selection_matrix(mf,m,p)
% Builds the selection matrix of the measurement equation from the vector
% of indices mf.
-% Copyright (C) 2004-2009 Dynare Team
+% Copyright (C) 2004-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/kalman/likelihood/kalman_filter_d.m b/matlab/kalman/likelihood/kalman_filter_d.m
index 0877442cf..79b3607fb 100644
--- a/matlab/kalman/likelihood/kalman_filter_d.m
+++ b/matlab/kalman/likelihood/kalman_filter_d.m
@@ -36,7 +36,7 @@ function [dLIK,dlik,a,Pstar] = kalman_filter_d(Y, start, last, a, Pinf, Pstar, k
% Durbin/Koopman (2012): "Time Series Analysis by State Space Methods", Oxford University Press,
% Second Edition, Ch. 5 and 7.2
-% Copyright (C) 2004-2016 Dynare Team
+% Copyright (C) 2004-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/kalman/likelihood/missing_observations_kalman_filter_d.m b/matlab/kalman/likelihood/missing_observations_kalman_filter_d.m
index c290f1793..ec8c286a4 100644
--- a/matlab/kalman/likelihood/missing_observations_kalman_filter_d.m
+++ b/matlab/kalman/likelihood/missing_observations_kalman_filter_d.m
@@ -42,7 +42,7 @@ function [dLIK,dlik,a,Pstar] = missing_observations_kalman_filter_d(data_index,n
% Second Edition, Ch. 5 and 7.2
%
-% Copyright (C) 2004-2016 Dynare Team
+% Copyright (C) 2004-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/kalman/likelihood/univariate_kalman_filter_d.m b/matlab/kalman/likelihood/univariate_kalman_filter_d.m
index 9a29c4981..ce78d2421 100644
--- a/matlab/kalman/likelihood/univariate_kalman_filter_d.m
+++ b/matlab/kalman/likelihood/univariate_kalman_filter_d.m
@@ -87,7 +87,7 @@ function [dLIK, dlikk, a, Pstar, llik] = univariate_kalman_filter_d(data_index,
% Series Analysis by State Space Methods", Oxford University Press,
% Second Edition, Ch. 5, 6.4 + 7.2.5
-% Copyright (C) 2004-2016 Dynare Team
+% Copyright (C) 2004-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/kalman/steady_state_kalman_gain.m b/matlab/kalman/steady_state_kalman_gain.m
index aa9344741..c40761d4a 100644
--- a/matlab/kalman/steady_state_kalman_gain.m
+++ b/matlab/kalman/steady_state_kalman_gain.m
@@ -17,7 +17,7 @@ function [K,iF,P] = steady_state_kalman_gain(T,R,Q,H,mf)
% SPECIAL REQUIREMENTS
% Needs a solver for Riccati equations (dare.m)
-% Copyright (C) 2004-2009 Dynare Team
+% Copyright (C) 2004-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/kalman_transition_matrix.m b/matlab/kalman_transition_matrix.m
index 1b026cfe4..f79b436cd 100644
--- a/matlab/kalman_transition_matrix.m
+++ b/matlab/kalman_transition_matrix.m
@@ -15,7 +15,7 @@ function [A,B] = kalman_transition_matrix(dr,iv,ic,exo_nbr)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2016 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/kernel_density_estimate.m b/matlab/kernel_density_estimate.m
index e3e83d516..c04927681 100644
--- a/matlab/kernel_density_estimate.m
+++ b/matlab/kernel_density_estimate.m
@@ -24,7 +24,7 @@ function [abscissa,f] = kernel_density_estimate(data,number_of_grid_points,numbe
% The code is adapted from Anders Holtsberg's matlab toolbox (stixbox).
%
-% Copyright (C) 2004-2008 Dynare Team
+% Copyright (C) 2004-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/list_of_parameters_calibrated_as_NaN.m b/matlab/list_of_parameters_calibrated_as_NaN.m
index 4911190a5..01964a89a 100644
--- a/matlab/list_of_parameters_calibrated_as_NaN.m
+++ b/matlab/list_of_parameters_calibrated_as_NaN.m
@@ -13,7 +13,7 @@ function list = list_of_parameters_calibrated_as_NaN(M_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2010-2011 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/lmmcp/catstruct.m b/matlab/lmmcp/catstruct.m
index ae40d1531..df4a9c05b 100644
--- a/matlab/lmmcp/catstruct.m
+++ b/matlab/lmmcp/catstruct.m
@@ -48,7 +48,7 @@ function A = catstruct(varargin)
% Copyright (C) 2005 Jos van der Geest
% Copyright (C) 2013 Christophe Gouel
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
%
% Redistribution and use in source and binary forms, with or without
% modification, are permitted provided that the following conditions are
diff --git a/matlab/lmmcp/dyn_lmmcp_func.m b/matlab/lmmcp/dyn_lmmcp_func.m
index d34b6adb1..0da1f7565 100644
--- a/matlab/lmmcp/dyn_lmmcp_func.m
+++ b/matlab/lmmcp/dyn_lmmcp_func.m
@@ -3,7 +3,7 @@ function [F,A] = dyn_lmmcp_func(x, model_dynamic, Y0, YT, exo_simul, params, ...
i_cols_A1, i_cols_1, i_cols_T, i_cols_j, ...
nnzA,eq_index)
-% Copyright (C) 2014 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/lmmcp/get_complementarity_conditions.m b/matlab/lmmcp/get_complementarity_conditions.m
index 340bd74cb..fb48ece9a 100644
--- a/matlab/lmmcp/get_complementarity_conditions.m
+++ b/matlab/lmmcp/get_complementarity_conditions.m
@@ -12,7 +12,7 @@ function [lb,ub,eq_index] = get_complementarity_conditions(M,ramsey_policy)
% from complementarity setup used in
% perfect_foresight_mcp_problem.m
-% Copyright (C) 2014-16 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/lmmcp/lmmcp.m b/matlab/lmmcp/lmmcp.m
index 162e61a86..50404ac7c 100644
--- a/matlab/lmmcp/lmmcp.m
+++ b/matlab/lmmcp/lmmcp.m
@@ -92,7 +92,7 @@ function [x,FVAL,EXITFLAG,OUTPUT,JACOB] = lmmcp(FUN,x,lb,ub,options,varargin)
% Copyright (C) 2005 Christian Kanzow and Stefania Petra
% Copyright (C) 2013 Christophe Gouel
-% Copyright (C) 2014 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
%
% Unlimited permission is granted to everyone to use, copy, modify or
% distribute this software.
diff --git a/matlab/lnsrch1_wrapper_one_boundary.m b/matlab/lnsrch1_wrapper_one_boundary.m
index 5aca3de3d..8ac9c14d0 100644
--- a/matlab/lnsrch1_wrapper_one_boundary.m
+++ b/matlab/lnsrch1_wrapper_one_boundary.m
@@ -21,7 +21,7 @@ function r = lnsrch1_wrapper_one_boundary(ya, y_index, fname, y, x, params, stea
% none.
%
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/lnsrch1_wrapper_two_boundaries.m b/matlab/lnsrch1_wrapper_two_boundaries.m
index 75a9771cc..05c396c77 100644
--- a/matlab/lnsrch1_wrapper_two_boundaries.m
+++ b/matlab/lnsrch1_wrapper_two_boundaries.m
@@ -26,7 +26,7 @@ function ra = lnsrch1_wrapper_two_boundaries(ya, fname, y, y_index, x, ...
% none.
%
-% Copyright (C) 2009-2015 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/load_first_mh_history_file.m b/matlab/load_first_mh_history_file.m
index 67bd70a1c..b99c8ccbf 100644
--- a/matlab/load_first_mh_history_file.m
+++ b/matlab/load_first_mh_history_file.m
@@ -2,7 +2,7 @@ function info = load_first_mh_history_file(MetropolisFolder, ModelName)
% This routine requires that the MCMC draws were obtained with a dynare version greater than 4.3.3.
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/load_last_mh_history_file.m b/matlab/load_last_mh_history_file.m
index e22fb6152..2874dbffd 100644
--- a/matlab/load_last_mh_history_file.m
+++ b/matlab/load_last_mh_history_file.m
@@ -10,7 +10,7 @@ function info = load_last_mh_history_file(MetropolisFolder, ModelName)
% Notes: The record structure is written to the caller workspace via an
% assignin statement.
-% Copyright (C) 2013-2016 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/lpdfig1.m b/matlab/lpdfig1.m
index 11fd33b36..2b14c8fab 100644
--- a/matlab/lpdfig1.m
+++ b/matlab/lpdfig1.m
@@ -17,7 +17,7 @@ function [ldens,Dldens,D2ldens] = lpdfig1(x,s,nu)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2004-2011 Dynare Team
+% Copyright (C) 2004-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/lpdfig2.m b/matlab/lpdfig2.m
index 3f534fb05..e1b3ca2a1 100644
--- a/matlab/lpdfig2.m
+++ b/matlab/lpdfig2.m
@@ -17,7 +17,7 @@ function [ldens,Dldens,D2ldens] = lpdfig2(x,s,nu)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2004-2011 Dynare Team
+% Copyright (C) 2004-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/lpdfnorm.m b/matlab/lpdfnorm.m
index fff678da9..2c1249996 100644
--- a/matlab/lpdfnorm.m
+++ b/matlab/lpdfnorm.m
@@ -13,7 +13,7 @@ function [ldens,Dldens,D2ldens] = lpdfnorm(x,a,b)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2012 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/matlab_ver_less_than.m b/matlab/matlab_ver_less_than.m
index 1b4b80876..10cd640d2 100644
--- a/matlab/matlab_ver_less_than.m
+++ b/matlab/matlab_ver_less_than.m
@@ -15,7 +15,7 @@ function r = matlab_ver_less_than(verstr)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2014 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/maximize_prior_density.m b/matlab/maximize_prior_density.m
index 2c9fc4de9..9f79e44a4 100644
--- a/matlab/maximize_prior_density.m
+++ b/matlab/maximize_prior_density.m
@@ -15,7 +15,7 @@ function [xparams,lpd,hessian_mat] = ...
% lpd [double] scalar, value of the logged prior density at the mode.
% hessian_mat [double] matrix, Hessian matrix at the prior mode.
-% Copyright (C) 2009-2015 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/mcforecast3.m b/matlab/mcforecast3.m
index a01dbe8d5..b318d46f4 100644
--- a/matlab/mcforecast3.m
+++ b/matlab/mcforecast3.m
@@ -31,7 +31,7 @@ function [forcs, e]= mcforecast3(cL,H,mcValue,shocks,forcs,T,R,mv,mu)
% y_t=T*y_{t-1}+R*shocks(:,t)
% is used for forecasting
%
-% Copyright (C) 2006-2015 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/mcompare.m b/matlab/mcompare.m
index a43d54cf9..f3f052f68 100644
--- a/matlab/mcompare.m
+++ b/matlab/mcompare.m
@@ -10,7 +10,7 @@ function mcompare(s1,s2)
% value of the base simulation, the absolute difference is ploted
% instead of the relative one.
-% Copyright (C) 2001-2011 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/mcp_func.m b/matlab/mcp_func.m
index f0af5189d..30494b95a 100644
--- a/matlab/mcp_func.m
+++ b/matlab/mcp_func.m
@@ -11,7 +11,7 @@ function [res,fjac,domer] = mcp_func(x,jacflag)
% - fjac [double] (N*T)*(N*T) array, Jacobian of the stacked problem
% - domer [scalar] errorflag that is 1 if solution is not real
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/metropolis_run_analysis.m b/matlab/metropolis_run_analysis.m
index aa4ec29a3..acdfe3b33 100644
--- a/matlab/metropolis_run_analysis.m
+++ b/matlab/metropolis_run_analysis.m
@@ -13,7 +13,7 @@ function metropolis_run_analysis(M,basetopt,j)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2011 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/minus_logged_prior_density.m b/matlab/minus_logged_prior_density.m
index c36fbe2a8..0b5b1e815 100644
--- a/matlab/minus_logged_prior_density.m
+++ b/matlab/minus_logged_prior_density.m
@@ -13,7 +13,7 @@ function [fval,info,exit_flag,fake_1,fake_2] = minus_logged_prior_density(xparam
% f [double] value of minus the logged prior density.
% info [double] vector: second entry stores penalty, first entry the error code.
%
-% Copyright (C) 2009-2016 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/corrcoef/corrcoef.m b/matlab/missing/corrcoef/corrcoef.m
index 722d969c0..893fd7c57 100644
--- a/matlab/missing/corrcoef/corrcoef.m
+++ b/matlab/missing/corrcoef/corrcoef.m
@@ -91,7 +91,7 @@ function [R,sig,ci1,ci2,nan_sig] = corrcoef(X,Y,varargin)
% $Id: corrcoef.m 9387 2011-12-15 10:42:14Z schloegl $
% Copyright (C) 2000-2004,2008,2009,2011 by Alois Schloegl
-% Copyright (C) 2014 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
% This function is part of the NaN-toolbox
% http://pub.ist.ac.at/~schloegl/matlab/NaN/
diff --git a/matlab/missing/corrcoef/flag_implicit_skip_nan.m b/matlab/missing/corrcoef/flag_implicit_skip_nan.m
index 12795f529..e8fd0fec6 100644
--- a/matlab/missing/corrcoef/flag_implicit_skip_nan.m
+++ b/matlab/missing/corrcoef/flag_implicit_skip_nan.m
@@ -41,8 +41,10 @@ function FLAG = flag_implicit_skip_nan(i)
% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
% $Id: flag_implicit_skip_nan.m 8351 2011-06-24 17:35:07Z carandraug $
+
% Copyright (C) 2001-2003,2009 by Alois Schloegl
-% Copyright (C) 2014 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
+%
% This function is part of the NaN-toolbox
% http://pub.ist.ac.at/~schloegl/matlab/NaN/
diff --git a/matlab/missing/corrcoef/sumskipnan.m b/matlab/missing/corrcoef/sumskipnan.m
index cdff175d3..a1054c3f8 100644
--- a/matlab/missing/corrcoef/sumskipnan.m
+++ b/matlab/missing/corrcoef/sumskipnan.m
@@ -48,8 +48,9 @@ function [o,count,SSQ] = sumskipnan(x, DIM, W)
% along with this program; If not, see .
% $Id: sumskipnan.m 9033 2011-11-08 20:58:07Z schloegl $
+%
% Copyright (C) 2000-2005,2009,2011 by Alois Schloegl
-% Copyright (C) 2014 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
% This function is part of the NaN-toolbox
% http://pub.ist.ac.at/~schloegl/matlab/NaN/
diff --git a/matlab/missing/corrcoef/tcdf.m b/matlab/missing/corrcoef/tcdf.m
index 38c8379ed..8d76f7657 100644
--- a/matlab/missing/corrcoef/tcdf.m
+++ b/matlab/missing/corrcoef/tcdf.m
@@ -12,8 +12,10 @@ function p = tcdf(x,n)
% Reference(s):
% $Id: tcdf.m 9033 2011-11-08 20:58:07Z schloegl $
-% Copyright (C) 2000-2003,2009 by Alois Schloegl
-% Copyright (C) 2014 Dynare Team
+
+% Copyright (C) 2000-2003,2009 by Alois Schloegl
+% Copyright (C) 2014-2017 Dynare Team
+%
% This is part of the NaN-toolbox. For more details see
% http://pub.ist.ac.at/~schloegl/matlab/NaN/
diff --git a/matlab/missing/ilu/ilu.m b/matlab/missing/ilu/ilu.m
index 0b8f8df73..6e53e59df 100644
--- a/matlab/missing/ilu/ilu.m
+++ b/matlab/missing/ilu/ilu.m
@@ -1,7 +1,7 @@
function [L, U, P] = ilu(A, setup)
% Partially implement function ilu using the (now deprecated) luinc
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/issquare/issquare.m b/matlab/missing/issquare/issquare.m
index dfbfe8925..0b28884a0 100644
--- a/matlab/missing/issquare/issquare.m
+++ b/matlab/missing/issquare/issquare.m
@@ -27,7 +27,7 @@ function i = issquare(A)
%! @end deftypefn
%@eod:
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/stats/betacdf.m b/matlab/missing/stats/betacdf.m
index b15913fbb..d1ac509f7 100644
--- a/matlab/missing/stats/betacdf.m
+++ b/matlab/missing/stats/betacdf.m
@@ -10,7 +10,7 @@ function cdf = betacdf (x, a, b)
% Original author: KH
% Copyright (C) 1995, 1996, 1997, 2005, 2006, 2007 Kurt Hornik
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/stats/betarnd.m b/matlab/missing/stats/betarnd.m
index 02c9e5ad7..a2d0c9fe8 100644
--- a/matlab/missing/stats/betarnd.m
+++ b/matlab/missing/stats/betarnd.m
@@ -13,7 +13,7 @@ function rnd = betarnd(a, b)
% ALGORITHMS
% Described and Devroye (1986, chapter 9).
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/stats/corr.m b/matlab/missing/stats/corr.m
index 6b5d35cbb..ec2f719a1 100644
--- a/matlab/missing/stats/corr.m
+++ b/matlab/missing/stats/corr.m
@@ -39,7 +39,7 @@ function retval = corr(x, y) % --*-- Unitary tests --*--
% Copyright (C) 1993-1996 Kurt Hornik
% Copyright (C) 1996-2015 John W. Eaton
% Copyright (C) 2013-2015 Julien Bect
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/stats/exprnd.m b/matlab/missing/stats/exprnd.m
index 6fc088b77..b59daf904 100644
--- a/matlab/missing/stats/exprnd.m
+++ b/matlab/missing/stats/exprnd.m
@@ -17,7 +17,7 @@ function rnd = exprnd(a)
% None.
%
-% Copyright (C) 2009 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/stats/gamrnd.m b/matlab/missing/stats/gamrnd.m
index 06caff7f0..af2124753 100644
--- a/matlab/missing/stats/gamrnd.m
+++ b/matlab/missing/stats/gamrnd.m
@@ -13,7 +13,7 @@ function rnd = gamrnd(a,b,method)
% ALGORITHMS
% Described in Bauwens, Lubrano and Richard (1999, page 316) and Devroye (1986, chapter 9).
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/stats/quantile.m b/matlab/missing/stats/quantile.m
index 2c0c683f9..a63baada0 100644
--- a/matlab/missing/stats/quantile.m
+++ b/matlab/missing/stats/quantile.m
@@ -49,7 +49,7 @@ function [q,N] = quantile(X, p, dim, method, weights) % --*-- Unitary tests --*-
% http://fr.mathworks.com/matlabcentral/fileexchange/46555-quantile-calculation
%
% Copyright (C) 2014-2016 University of Surrey (Christopher Hummersone)
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/stats/stdnormal_inv.m b/matlab/missing/stats/stdnormal_inv.m
index 44cdebe1f..9859efde7 100644
--- a/matlab/missing/stats/stdnormal_inv.m
+++ b/matlab/missing/stats/stdnormal_inv.m
@@ -10,7 +10,7 @@ function inv = stdnormal_inv (x)
% Copyright (C) 1995, 1996, 1997, 1998, 2000, 2002, 2005, 2006, 2007
% Kurt Hornik
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/stats/wblcdf.m b/matlab/missing/stats/wblcdf.m
index 701abe964..6246a01cf 100644
--- a/matlab/missing/stats/wblcdf.m
+++ b/matlab/missing/stats/wblcdf.m
@@ -10,7 +10,7 @@ function p = wblcdf(x, scale, shape) % --*-- Unitary tests --*--
% OUTPUTS
% - p [double] Positive scalar between
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/stats/wblrnd.m b/matlab/missing/stats/wblrnd.m
index ca31efa50..e2a6911d9 100644
--- a/matlab/missing/stats/wblrnd.m
+++ b/matlab/missing/stats/wblrnd.m
@@ -8,7 +8,7 @@ function rnd = wblrnd(a, b)
% OUTPUT
% rnd [double] m*n matrix of independent variates from the beta(a,b) distribution.
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing/vec/vec.m b/matlab/missing/vec/vec.m
index 8565f86a4..fd9e36b79 100644
--- a/matlab/missing/vec/vec.m
+++ b/matlab/missing/vec/vec.m
@@ -7,7 +7,7 @@ function Vector = vec(Matrix)
% OUTPUTS
% Vector [double] a n*n vector.
-% Copyright (C) 2009 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/missing_DiffuseKalmanSmootherH1_Z.m b/matlab/missing_DiffuseKalmanSmootherH1_Z.m
index 5950f03d2..5ba614f94 100644
--- a/matlab/missing_DiffuseKalmanSmootherH1_Z.m
+++ b/matlab/missing_DiffuseKalmanSmootherH1_Z.m
@@ -49,7 +49,7 @@ function [alphahat,epsilonhat,etahat,atilde,P,aK,PK,decomp,V] = missing_DiffuseK
% Durbin/Koopman (2012): "Time Series Analysis by State Space Methods", Oxford University Press,
% Second Edition, Ch. 5
-% Copyright (C) 2004-2016 Dynare Team
+% Copyright (C) 2004-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/model_comparison.m b/matlab/model_comparison.m
index 81afdf768..07935af6f 100644
--- a/matlab/model_comparison.m
+++ b/matlab/model_comparison.m
@@ -20,7 +20,7 @@ function oo = model_comparison(ModelNames,ModelPriors,oo,options_,fname)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2007-2016 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/moments.m b/matlab/moments.m
index ac5ed4f27..910332118 100644
--- a/matlab/moments.m
+++ b/matlab/moments.m
@@ -14,7 +14,7 @@ function m = moments(X,order)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/clean_files_for_second_type_of_mex.m b/matlab/ms-sbvar/clean_files_for_second_type_of_mex.m
index 5f6d7d43c..b1361a49b 100644
--- a/matlab/ms-sbvar/clean_files_for_second_type_of_mex.m
+++ b/matlab/ms-sbvar/clean_files_for_second_type_of_mex.m
@@ -11,7 +11,7 @@ function clean_files_for_second_type_of_mex(M_, options_, type)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/dyn_save_graph.m b/matlab/ms-sbvar/dyn_save_graph.m
index 91782d71f..46623f7c9 100644
--- a/matlab/ms-sbvar/dyn_save_graph.m
+++ b/matlab/ms-sbvar/dyn_save_graph.m
@@ -13,7 +13,7 @@ function dyn_save_graph(dirname,graph_name,graph_formats,TeX,names,texnames,capt
% SPECIAL REQUIREMENTS
% none
%
-% Copyright (C) 2011-2016 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/identification/exclusions.m b/matlab/ms-sbvar/identification/exclusions.m
index c695124a8..5361c2ef4 100644
--- a/matlab/ms-sbvar/identification/exclusions.m
+++ b/matlab/ms-sbvar/identification/exclusions.m
@@ -16,7 +16,7 @@ function [Ui,Vi,n0,np,ixmC0Pres,Qi,Ri] = exclusions(nvar,nexo,options_ms)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011-2015 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/identification/lower_cholesky.m b/matlab/ms-sbvar/identification/lower_cholesky.m
index 3085e09dd..a88954091 100644
--- a/matlab/ms-sbvar/identification/lower_cholesky.m
+++ b/matlab/ms-sbvar/identification/lower_cholesky.m
@@ -16,7 +16,7 @@ function [Ui,Vi,n0,np,ixmC0Pres] = lower_cholesky(nvar,nexo,options_ms)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/identification/upper_cholesky.m b/matlab/ms-sbvar/identification/upper_cholesky.m
index dbdd19c40..8645214b1 100644
--- a/matlab/ms-sbvar/identification/upper_cholesky.m
+++ b/matlab/ms-sbvar/identification/upper_cholesky.m
@@ -16,7 +16,7 @@ function [Ui,Vi,n0,np,ixmC0Pres] = upper_cholesky(nvar,nexo,options_ms)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/ms_estimation.m b/matlab/ms-sbvar/ms_estimation.m
index 67b8c34fc..495a483ee 100644
--- a/matlab/ms-sbvar/ms_estimation.m
+++ b/matlab/ms-sbvar/ms_estimation.m
@@ -14,7 +14,7 @@ function [options_, oo_]=ms_estimation(M_, options_, oo_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/ms_forecast.m b/matlab/ms-sbvar/ms_forecast.m
index e8ed8be20..e8949c9ae 100644
--- a/matlab/ms-sbvar/ms_forecast.m
+++ b/matlab/ms-sbvar/ms_forecast.m
@@ -14,7 +14,7 @@ function [options_, oo_]=ms_forecast(M_, options_, oo_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011-2016 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/ms_irf.m b/matlab/ms-sbvar/ms_irf.m
index 9b13aaa5e..47d1a8490 100644
--- a/matlab/ms-sbvar/ms_irf.m
+++ b/matlab/ms-sbvar/ms_irf.m
@@ -15,7 +15,7 @@ function [options_, oo_]=ms_irf(varlist, M_, options_, oo_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011-2016 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/ms_mardd.m b/matlab/ms-sbvar/ms_mardd.m
index 090c69127..bd522807d 100644
--- a/matlab/ms-sbvar/ms_mardd.m
+++ b/matlab/ms-sbvar/ms_mardd.m
@@ -6,7 +6,7 @@ function ms_mardd(options_)
%
% Tao Zha, September 1999. Quick revisions, May 2003. Final revision, September 2004.
-% Copyright (C) 2011-2013 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/ms_sbvar_setup.m b/matlab/ms-sbvar/ms_sbvar_setup.m
index 2bdefad15..a195cc491 100644
--- a/matlab/ms-sbvar/ms_sbvar_setup.m
+++ b/matlab/ms-sbvar/ms_sbvar_setup.m
@@ -11,7 +11,7 @@ function ms_sbvar_setup(options_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2014 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/ms_variance_decomposition.m b/matlab/ms-sbvar/ms_variance_decomposition.m
index 83e270171..1fe73ddbc 100644
--- a/matlab/ms-sbvar/ms_variance_decomposition.m
+++ b/matlab/ms-sbvar/ms_variance_decomposition.m
@@ -14,7 +14,7 @@ function [options_, oo_]=ms_variance_decomposition(M_, options_, oo_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011-2016 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/ms_write_markov_file.m b/matlab/ms-sbvar/ms_write_markov_file.m
index b35409cf0..7eaa5925f 100644
--- a/matlab/ms-sbvar/ms_write_markov_file.m
+++ b/matlab/ms-sbvar/ms_write_markov_file.m
@@ -10,7 +10,7 @@ function ms_write_markov_file(fname, options)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011-2014 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/ms_write_mhm_input.m b/matlab/ms-sbvar/ms_write_mhm_input.m
index 1edd4b4a2..26ec655cd 100644
--- a/matlab/ms-sbvar/ms_write_mhm_input.m
+++ b/matlab/ms-sbvar/ms_write_mhm_input.m
@@ -11,7 +11,7 @@ function ms_write_mhm_input(fname, options_ms)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/msstart2.m b/matlab/ms-sbvar/msstart2.m
index 95491d5af..d02a2338d 100644
--- a/matlab/ms-sbvar/msstart2.m
+++ b/matlab/ms-sbvar/msstart2.m
@@ -12,7 +12,7 @@
%
% February 2004
-% Copyright (C) 2011-2013 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/msstart_setup.m b/matlab/ms-sbvar/msstart_setup.m
index 88c307fe8..b32b92da4 100644
--- a/matlab/ms-sbvar/msstart_setup.m
+++ b/matlab/ms-sbvar/msstart_setup.m
@@ -1,6 +1,6 @@
%function []= msstart_setup(options_)
-% Copyright (C) 2011-2014 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/plot_ms_forecast.m b/matlab/ms-sbvar/plot_ms_forecast.m
index c76f8af89..61f986e90 100644
--- a/matlab/ms-sbvar/plot_ms_forecast.m
+++ b/matlab/ms-sbvar/plot_ms_forecast.m
@@ -15,7 +15,7 @@ function plot_ms_forecast(M_, options_, forecast, figure_name)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/plot_ms_irf.m b/matlab/ms-sbvar/plot_ms_irf.m
index 39ca642cf..3bff3773b 100644
--- a/matlab/ms-sbvar/plot_ms_irf.m
+++ b/matlab/ms-sbvar/plot_ms_irf.m
@@ -15,7 +15,7 @@ function plot_ms_irf(M_, options_, irf, figure_name, varlist)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/plot_ms_probabilities.m b/matlab/ms-sbvar/plot_ms_probabilities.m
index 0b1125de3..b0e8ec7ca 100644
--- a/matlab/ms-sbvar/plot_ms_probabilities.m
+++ b/matlab/ms-sbvar/plot_ms_probabilities.m
@@ -11,7 +11,7 @@ function plot_ms_probabilities(computed_probabilities, options_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/plot_ms_variance_decomposition.m b/matlab/ms-sbvar/plot_ms_variance_decomposition.m
index 81aab9263..d6b39ce63 100644
--- a/matlab/ms-sbvar/plot_ms_variance_decomposition.m
+++ b/matlab/ms-sbvar/plot_ms_variance_decomposition.m
@@ -22,7 +22,7 @@ function plot_ms_variance_decomposition(M_, options_, vd, figure_name, varargin)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011-2013 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/plot_ms_variance_decomposition_error_bands.m b/matlab/ms-sbvar/plot_ms_variance_decomposition_error_bands.m
index 193c9b59f..d88e757b5 100644
--- a/matlab/ms-sbvar/plot_ms_variance_decomposition_error_bands.m
+++ b/matlab/ms-sbvar/plot_ms_variance_decomposition_error_bands.m
@@ -15,7 +15,7 @@ function plot_ms_variance_decomposition_error_bands(M_, options_, vddata, figure
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/ms-sbvar/svar_global_identification_check.m b/matlab/ms-sbvar/svar_global_identification_check.m
index b0884defe..07397d18d 100644
--- a/matlab/ms-sbvar/svar_global_identification_check.m
+++ b/matlab/ms-sbvar/svar_global_identification_check.m
@@ -16,7 +16,7 @@ function indent = svar_global_identification_check(options_)
% Autoregressions: Theory of Identification and Algorithms for
% Inference" in Review of Economic Studies, 77, 665-696.
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/mult_elimination.m b/matlab/mult_elimination.m
index 347c702cb..91b441d35 100644
--- a/matlab/mult_elimination.m
+++ b/matlab/mult_elimination.m
@@ -12,7 +12,7 @@ function dr=mult_elimination(varlist,M_, options_, oo_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2016 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/multivariate_sample_autocovariance.m b/matlab/multivariate_sample_autocovariance.m
index 3b35db5f3..40af07015 100644
--- a/matlab/multivariate_sample_autocovariance.m
+++ b/matlab/multivariate_sample_autocovariance.m
@@ -11,7 +11,7 @@ function autocov = multivariate_sample_autocovariance(data,q)
%
% SPECIAL REQUIREMENTS
-% Copyright (C) 2009 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/name2index.m b/matlab/name2index.m
index 29723160b..22d116c79 100644
--- a/matlab/name2index.m
+++ b/matlab/name2index.m
@@ -16,7 +16,7 @@ function i = name2index(options_, M_, estim_params_, type, name1, name2 )
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2013 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/octave_ver_less_than.m b/matlab/octave_ver_less_than.m
index d60bea88d..3c1a6a6a0 100644
--- a/matlab/octave_ver_less_than.m
+++ b/matlab/octave_ver_less_than.m
@@ -15,7 +15,7 @@ function r = octave_ver_less_than(verstr)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2011 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/one_sided_hp_filter.m b/matlab/one_sided_hp_filter.m
index 53e494a9a..9715a3351 100644
--- a/matlab/one_sided_hp_filter.m
+++ b/matlab/one_sided_hp_filter.m
@@ -38,7 +38,7 @@ function [ytrend,ycycle]=one_sided_hp_filter(y,lambda,x_user,P_user,discard)
% Copyright (C) 200?-2015 Alexander Meyer-Gohde
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/optimization/apprgrdn.m b/matlab/optimization/apprgrdn.m
index a19569086..2d79f0489 100644
--- a/matlab/optimization/apprgrdn.m
+++ b/matlab/optimization/apprgrdn.m
@@ -17,7 +17,7 @@ function g = apprgrdn(x,f,fun,deltax,obj,varargin)
%
% Copyright (C) 1997-2008, Alexei Kuntsevich and Franz Kappel
% Copyright (C) 2008-2015 Giovanni Lombardo
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/optimization/bfgsi1.m b/matlab/optimization/bfgsi1.m
index 7ed5b0db0..7a76a89b2 100644
--- a/matlab/optimization/bfgsi1.m
+++ b/matlab/optimization/bfgsi1.m
@@ -16,7 +16,7 @@ function H = bfgsi1(H0,dg,dx,Verbose,Save_files)
% http://sims.princeton.edu/yftp/optimize/mfiles/bfgsi.m
%
% Copyright (C) 1993-2009 Christopher Sims
-% Copyright (C) 2009-2015 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/optimization/cmaes.m b/matlab/optimization/cmaes.m
index db6869306..2ead9b50e 100644
--- a/matlab/optimization/cmaes.m
+++ b/matlab/optimization/cmaes.m
@@ -158,7 +158,7 @@ function [xmin, ... % minimum search point of last iteration
%
% Copyright (C) 2001-2012 Nikolaus Hansen,
-% Copyright (C) 2012 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/optimization/csminit1.m b/matlab/optimization/csminit1.m
index 0ad54a3a7..22391027e 100644
--- a/matlab/optimization/csminit1.m
+++ b/matlab/optimization/csminit1.m
@@ -38,7 +38,7 @@ function [fhat,xhat,fcount,retcode] = csminit1(fcn,x0,penalty,f0,g0,badg,H0,Verb
% http://sims.princeton.edu/yftp/optimize/mfiles/csminit.m
%
% Copyright (C) 1993-2007 Christopher Sims
-% Copyright (C) 2008-2016 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/optimization/csminwel1.m b/matlab/optimization/csminwel1.m
index 33270c117..cfa869932 100644
--- a/matlab/optimization/csminwel1.m
+++ b/matlab/optimization/csminwel1.m
@@ -42,7 +42,7 @@ function [fh,xh,gh,H,itct,fcount,retcodeh] = csminwel1(fcn,x0,H0,grad,crit,nit,m
% http://sims.princeton.edu/yftp/optimize/mfiles/csminwel.m
%
% Copyright (C) 1993-2007 Christopher Sims
-% Copyright (C) 2006-2015 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/optimization/gmhmaxlik_core.m b/matlab/optimization/gmhmaxlik_core.m
index eae0f931a..3e94d30ab 100644
--- a/matlab/optimization/gmhmaxlik_core.m
+++ b/matlab/optimization/gmhmaxlik_core.m
@@ -56,7 +56,7 @@ function [PostMod,PostVar,Scale,PostMean] = gmhmaxlik_core(ObjFun,xparam1,mh_bou
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 2006-2015 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/optimization/simpsa.m b/matlab/optimization/simpsa.m
index 814618d41..87b881a2c 100644
--- a/matlab/optimization/simpsa.m
+++ b/matlab/optimization/simpsa.m
@@ -58,7 +58,7 @@ function [X,FVAL,EXITFLAG,OUTPUT] = simpsa(FUN,X0,LB,UB,OPTIONS,varargin)
% Copyright (C) 2005 Henning Schmidt, FCC, henning@fcc.chalmers.se
% Copyright (C) 2006 Brecht Donckels, BIOMATH, brecht.donckels@ugent.be
-% Copyright (C) 2013 Dynare Team.
+% Copyright (C) 2013-2017 Dynare Team.
%
% This file is part of Dynare.
%
diff --git a/matlab/optimization/simpsaget.m b/matlab/optimization/simpsaget.m
index 318ea4313..96eb36dc9 100644
--- a/matlab/optimization/simpsaget.m
+++ b/matlab/optimization/simpsaget.m
@@ -18,7 +18,7 @@ function o = simpsaget(options,name,default,flag)
% See also SIMPSASET, SIMPSA
% Copyright (C) 2006 Brecht Donckels, BIOMATH, brecht.donckels@ugent.be
-% Copyright (C) 2013-2016 Dynare Team.
+% Copyright (C) 2013-2017 Dynare Team.
%
% This file is part of Dynare.
%
diff --git a/matlab/optimization/simpsaset.m b/matlab/optimization/simpsaset.m
index 16e1919c1..1d63c7bdc 100644
--- a/matlab/optimization/simpsaset.m
+++ b/matlab/optimization/simpsaset.m
@@ -28,7 +28,7 @@ function options = simpsaset(varargin)
% Copyright (C) 2005 Henning Schmidt, FCC, henning@fcc.chalmers.se
% Copyright (C) 2006 Brecht Donckels, BIOMATH, brecht.donckels@ugent.be
-% Copyright (C) 2013 Dynare Team.
+% Copyright (C) 2013-2017 Dynare Team.
%
% This file is part of Dynare.
%
diff --git a/matlab/optimization/simulated_annealing.m b/matlab/optimization/simulated_annealing.m
index 9637e64e9..7088685b3 100644
--- a/matlab/optimization/simulated_annealing.m
+++ b/matlab/optimization/simulated_annealing.m
@@ -163,7 +163,7 @@ function [xopt, fopt,exitflag, n_accepted_draws, n_total_draws, n_out_of_bounds_
% Copyright (C) 1995 E.G.Tsionas
% Copyright (C) 1995-2002 Thomas Werner
% Copyright (C) 2002-2015 Giovanni Lombardo
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/optimization/solvopt.m b/matlab/optimization/solvopt.m
index 079a6d5b7..c4a819a26 100644
--- a/matlab/optimization/solvopt.m
+++ b/matlab/optimization/solvopt.m
@@ -59,7 +59,7 @@ function [x,f,exitflag,n_f_evals,n_grad_evals,n_constraint_evals,n_constraint_gr
%
% Copyright (C) 1997-2008, Alexei Kuntsevich and Franz Kappel
% Copyright (C) 2008-2015 Giovanni Lombardo
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/options2cell.m b/matlab/options2cell.m
index dcf87748a..697c24b87 100644
--- a/matlab/options2cell.m
+++ b/matlab/options2cell.m
@@ -8,7 +8,7 @@ function c = options2cell(o)
% OUTPUTS
% o c matlab's cell row array of the form {NAME1, VALUE1, NAME2, VALUE2, NAME3, VALUE3, ...}.
-% Copyright (C) 2013 Dynare Team.
+% Copyright (C) 2013-2017 Dynare Team.
%
% This file is part of Dynare.
%
diff --git a/matlab/osr.m b/matlab/osr.m
index a34df099a..60039ac45 100644
--- a/matlab/osr.m
+++ b/matlab/osr.m
@@ -21,7 +21,7 @@ function osr_res = osr(var_list,params,i_var,W)
% SPECIAL REQUIREMENTS
% none.
%
-% Copyright (C) 2001-2016 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/osr1.m b/matlab/osr1.m
index bd19412ca..b73db2b24 100644
--- a/matlab/osr1.m
+++ b/matlab/osr1.m
@@ -16,7 +16,7 @@ function osr_res = osr1(i_params,i_var,weights)
% Uses Newton-type optimizer csminwel to directly solve quadratic
% osr-problem
%
-% Copyright (C) 2005-2016 Dynare Team
+% Copyright (C) 2005-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/osr_obj.m b/matlab/osr_obj.m
index d29c7e530..76db1da69 100644
--- a/matlab/osr_obj.m
+++ b/matlab/osr_obj.m
@@ -17,7 +17,7 @@ function [loss,info,exit_flag,vx,junk]=osr_obj(x,i_params,i_var,weights)
%
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2005-2016 Dynare Team
+% Copyright (C) 2005-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/CreateTimeString.m b/matlab/parallel/CreateTimeString.m
index 53251d418..e78f8836a 100644
--- a/matlab/parallel/CreateTimeString.m
+++ b/matlab/parallel/CreateTimeString.m
@@ -8,7 +8,7 @@ function [TiSt] = CreateTimeString()
% OUTPUTS
% o TiSt [] ...
%
-% Copyright (C) 2009-2010 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/parallel/dynareParallelFindNewFiles.m b/matlab/parallel/dynareParallelFindNewFiles.m
index ba93d6245..d8cb6a9d7 100644
--- a/matlab/parallel/dynareParallelFindNewFiles.m
+++ b/matlab/parallel/dynareParallelFindNewFiles.m
@@ -15,7 +15,7 @@ function [NewFilesFrom, NewFileList]=dynareParallelFindNewFiles(FileList,Paralle
% o NewFilesFrom [] ...
% o NewFileList [] ...
%
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/partial_information/PCL_resol.m b/matlab/partial_information/PCL_resol.m
index 6bf4a7243..8f6bf4239 100644
--- a/matlab/partial_information/PCL_resol.m
+++ b/matlab/partial_information/PCL_resol.m
@@ -25,7 +25,7 @@ function [dr,info]=PCL_resol(ys,check_flag)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2015 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/partial_information/PI_gensys.m b/matlab/partial_information/PI_gensys.m
index edc4e5da1..589e39dc1 100644
--- a/matlab/partial_information/PI_gensys.m
+++ b/matlab/partial_information/PI_gensys.m
@@ -16,7 +16,7 @@ function [G1pi,C,impact,nmat,TT1,TT2,gev,eu, DD, E2, E5, GAMMA, FL_RANK ]=PI_gen
% Corrected 10/28/96 by CAS
% Copyright (C) 1996-2009 Christopher Sims
-% Copyright (C) 2010-2011 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/partial_information/disc_riccati_fast.m b/matlab/partial_information/disc_riccati_fast.m
index c73adb5b2..c97da7a12 100644
--- a/matlab/partial_information/disc_riccati_fast.m
+++ b/matlab/partial_information/disc_riccati_fast.m
@@ -11,7 +11,7 @@ function Z=disc_riccati_fast(F,D,R,H,ch)
% V.2 22/10/06
% =================================================================
-% Copyright (C) 2006-2011 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/linear_approximation_accuracy.m b/matlab/perfect-foresight-models/linear_approximation_accuracy.m
index 552310a69..289997176 100644
--- a/matlab/perfect-foresight-models/linear_approximation_accuracy.m
+++ b/matlab/perfect-foresight-models/linear_approximation_accuracy.m
@@ -10,7 +10,7 @@ function err = linear_approximation_accuracy(options_, M_, oo_)
% OUTPUTS
% - err [double] n*1 vector, evaluation of the accuracy (n is the number of equations).
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/make_ex_.m b/matlab/perfect-foresight-models/make_ex_.m
index 1eec29ac5..4f7259048 100644
--- a/matlab/perfect-foresight-models/make_ex_.m
+++ b/matlab/perfect-foresight-models/make_ex_.m
@@ -14,7 +14,7 @@ function oo_=make_ex_(M_,options_,oo_)
% SPECIAL REQUIREMENTS
%
-% Copyright (C) 1996-2016 Dynare Team
+% Copyright (C) 1996-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/make_y_.m b/matlab/perfect-foresight-models/make_y_.m
index bbe41db71..e96333825 100644
--- a/matlab/perfect-foresight-models/make_y_.m
+++ b/matlab/perfect-foresight-models/make_y_.m
@@ -16,7 +16,7 @@ function oo_=make_y_(M_,options_,oo_)
% none
%
-% Copyright (C) 1996-2016 Dynare Team
+% Copyright (C) 1996-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/perfect_foresight_mcp_problem.m b/matlab/perfect-foresight-models/perfect_foresight_mcp_problem.m
index 5160ce71f..eb898322d 100644
--- a/matlab/perfect-foresight-models/perfect_foresight_mcp_problem.m
+++ b/matlab/perfect-foresight-models/perfect_foresight_mcp_problem.m
@@ -45,7 +45,7 @@ function [residuals,JJacobian] = perfect_foresight_mcp_problem(y, dynamic_functi
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 1996-2016 Dynare Team
+% Copyright (C) 1996-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/perfect_foresight_problem.m b/matlab/perfect-foresight-models/perfect_foresight_problem.m
index a853d6514..a4df03f80 100644
--- a/matlab/perfect-foresight-models/perfect_foresight_problem.m
+++ b/matlab/perfect-foresight-models/perfect_foresight_problem.m
@@ -42,7 +42,7 @@ function [residuals,JJacobian] = perfect_foresight_problem(y, dynamic_function,
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 1996-2016 Dynare Team
+% Copyright (C) 1996-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/perfect_foresight_setup.m b/matlab/perfect-foresight-models/perfect_foresight_setup.m
index a9cddb0e5..341d70aad 100644
--- a/matlab/perfect-foresight-models/perfect_foresight_setup.m
+++ b/matlab/perfect-foresight-models/perfect_foresight_setup.m
@@ -12,7 +12,7 @@ function perfect_foresight_setup()
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 1996-2016 Dynare Team
+% Copyright (C) 1996-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/perfect_foresight_solver.m b/matlab/perfect-foresight-models/perfect_foresight_solver.m
index 8bf52c28b..8e7c3bcbc 100644
--- a/matlab/perfect-foresight-models/perfect_foresight_solver.m
+++ b/matlab/perfect-foresight-models/perfect_foresight_solver.m
@@ -12,7 +12,7 @@ function perfect_foresight_solver()
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 1996-2016 Dynare Team
+% Copyright (C) 1996-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/perfect_foresight_solver_core.m b/matlab/perfect-foresight-models/perfect_foresight_solver_core.m
index 94e978316..272cd3833 100644
--- a/matlab/perfect-foresight-models/perfect_foresight_solver_core.m
+++ b/matlab/perfect-foresight-models/perfect_foresight_solver_core.m
@@ -11,7 +11,7 @@ function [oo_, maxerror] = perfect_foresight_solver_core(M_, options_, oo_)
% - oo_ [struct] contains results
% - maxerror [double] contains the maximum absolute error
-% Copyright (C) 2015-2016 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/private/check_input_arguments.m b/matlab/perfect-foresight-models/private/check_input_arguments.m
index 81c3da8ce..fc50114d0 100644
--- a/matlab/perfect-foresight-models/private/check_input_arguments.m
+++ b/matlab/perfect-foresight-models/private/check_input_arguments.m
@@ -3,7 +3,7 @@ function check_input_arguments(DynareOptions, DynareModel, DynareResults)
%Conducts checks for inconsistent/missing inputs to deterministic
%simulations
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/private/initialize_stacked_problem.m b/matlab/perfect-foresight-models/private/initialize_stacked_problem.m
index 3d6c9abdc..014bb9acb 100644
--- a/matlab/perfect-foresight-models/private/initialize_stacked_problem.m
+++ b/matlab/perfect-foresight-models/private/initialize_stacked_problem.m
@@ -27,7 +27,7 @@ function [options, y0, yT, z, i_cols, i_cols_J1, i_cols_T, i_cols_j, i_cols_1, .
% M.lead_lag_incidence in dynamic Jacobian (relevant in first period)
% - dynamicmodel [handle] function handle to _dynamic-file
-% Copyright (C) 2015-16 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/private/simulation_core.m b/matlab/perfect-foresight-models/private/simulation_core.m
index 947ebd9a5..0c944c2a6 100644
--- a/matlab/perfect-foresight-models/private/simulation_core.m
+++ b/matlab/perfect-foresight-models/private/simulation_core.m
@@ -1,7 +1,7 @@
function [oo_, maxerror] = simulation_core(options_, M_, oo_)
%function [oo_, maxerror] = simulation_core(options_, M_, oo_)
-% Copyright (C) 2015-2016 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/sim1_lbj.m b/matlab/perfect-foresight-models/sim1_lbj.m
index 4ff1cf963..a9b585907 100644
--- a/matlab/perfect-foresight-models/sim1_lbj.m
+++ b/matlab/perfect-foresight-models/sim1_lbj.m
@@ -15,7 +15,7 @@ function [endogenousvariables, info] = sim1_lbj(endogenousvariables, exogenousva
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 1996-2016 Dynare Team
+% Copyright (C) 1996-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/sim1_linear.m b/matlab/perfect-foresight-models/sim1_linear.m
index e5a2d19ac..85dc38405 100644
--- a/matlab/perfect-foresight-models/sim1_linear.m
+++ b/matlab/perfect-foresight-models/sim1_linear.m
@@ -38,7 +38,7 @@ function [endogenousvariables, info] = sim1_linear(endogenousvariables, exogenou
% to center the variables around the deterministic steady state to solve the
% perfect foresight model.
-% Copyright (C) 2015-2016 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/sim1_purely_backward.m b/matlab/perfect-foresight-models/sim1_purely_backward.m
index 1c9d04179..a2ec8db13 100644
--- a/matlab/perfect-foresight-models/sim1_purely_backward.m
+++ b/matlab/perfect-foresight-models/sim1_purely_backward.m
@@ -2,7 +2,7 @@ function [endogenousvariables, info] = sim1_purely_backward(endogenousvariables,
% Performs deterministic simulation of a purely backward model
-% Copyright (C) 2012-2016 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/sim1_purely_forward.m b/matlab/perfect-foresight-models/sim1_purely_forward.m
index a1af21117..31cd12b77 100644
--- a/matlab/perfect-foresight-models/sim1_purely_forward.m
+++ b/matlab/perfect-foresight-models/sim1_purely_forward.m
@@ -1,7 +1,7 @@
function [endogenousvariables, info] = sim1_purely_forward(endogenousvariables, exogenousvariables, steadystate, M, options)
% Performs deterministic simulation of a purely forward model
-% Copyright (C) 2012-2016 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/solve_stacked_linear_problem.m b/matlab/perfect-foresight-models/solve_stacked_linear_problem.m
index 2ddc51a21..5464c9e06 100644
--- a/matlab/perfect-foresight-models/solve_stacked_linear_problem.m
+++ b/matlab/perfect-foresight-models/solve_stacked_linear_problem.m
@@ -1,6 +1,6 @@
function [endogenousvariables, info] = solve_stacked_linear_problem(endogenousvariables, exogenousvariables, steadystate_y, steadystate_x, M, options)
-% Copyright (C) 2015-2016 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/perfect-foresight-models/solve_stacked_problem.m b/matlab/perfect-foresight-models/solve_stacked_problem.m
index 2e0885367..dd3bc6363 100644
--- a/matlab/perfect-foresight-models/solve_stacked_problem.m
+++ b/matlab/perfect-foresight-models/solve_stacked_problem.m
@@ -13,7 +13,7 @@ function [endogenousvariables, info] = solve_stacked_problem(endogenousvariables
% - endogenousvariables [double] N*T array, paths for the endogenous variables (solution of the perfect foresight model).
% - info [struct] contains informations about the results.
-% Copyright (C) 2015-16 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/pltorg.m b/matlab/pltorg.m
index dca9e66f1..e7f680772 100644
--- a/matlab/pltorg.m
+++ b/matlab/pltorg.m
@@ -1,6 +1,6 @@
function [nbplt,nr,nc,lr,lc,nstar] = pltorg(number)
-% Copyright (C) 2004-2008 Dynare Team
+% Copyright (C) 2004-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/posterior_analysis.m b/matlab/posterior_analysis.m
index 7e13059bf..fa365b607 100644
--- a/matlab/posterior_analysis.m
+++ b/matlab/posterior_analysis.m
@@ -1,5 +1,5 @@
function oo_ = posterior_analysis(type,arg1,arg2,arg3,options_,M_,oo_)
-% Copyright (C) 2008-2015 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/posterior_moments.m b/matlab/posterior_moments.m
index e16992a08..915827328 100644
--- a/matlab/posterior_moments.m
+++ b/matlab/posterior_moments.m
@@ -21,7 +21,7 @@ function [post_mean, post_median, post_var, hpd_interval, post_deciles, density]
% kernel_density_estimate.m.
%
-% Copyright (C) 2005-2015 Dynare Team
+% Copyright (C) 2005-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/print_bytecode_dynamic_model.m b/matlab/print_bytecode_dynamic_model.m
index 688f9cadb..af5eb0115 100644
--- a/matlab/print_bytecode_dynamic_model.m
+++ b/matlab/print_bytecode_dynamic_model.m
@@ -11,7 +11,7 @@ function print_bytecode_dynamic_model()
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2011 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/print_bytecode_static_model.m b/matlab/print_bytecode_static_model.m
index 6ddc67fe2..ece12428b 100644
--- a/matlab/print_bytecode_static_model.m
+++ b/matlab/print_bytecode_static_model.m
@@ -11,7 +11,7 @@ function print_bytecode_static_model()
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2011 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/print_moments_implied_prior.m b/matlab/print_moments_implied_prior.m
index 56dc069b1..94d14cb02 100644
--- a/matlab/print_moments_implied_prior.m
+++ b/matlab/print_moments_implied_prior.m
@@ -3,7 +3,7 @@ function print_moments_implied_prior(ModelInfo, mm, vm, mv, vv)
% This routine prints in the command window some descriptive statistics
% about the endogenous variables implied prior moments.
-% Copyright (C) 2016 Dynare Team
+% Copyright (C) 2016-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/print_table_prior.m b/matlab/print_table_prior.m
index c12c2fd31..b1f1a13bc 100644
--- a/matlab/print_table_prior.m
+++ b/matlab/print_table_prior.m
@@ -2,7 +2,7 @@ function print_table_prior(lb, ub, DynareOptions, ModelInfo, BayesInfo, Estimati
% This routine prints in the command window some descriptive statistics about the prior distribution.
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/printline.m b/matlab/printline.m
index 85bb44e0f..29d4ec1c3 100644
--- a/matlab/printline.m
+++ b/matlab/printline.m
@@ -10,7 +10,7 @@ function varargout = printline(n, s, fid)
% OUTPUTS
% None
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/prior_analysis.m b/matlab/prior_analysis.m
index 41b43ffa3..5820f69c3 100644
--- a/matlab/prior_analysis.m
+++ b/matlab/prior_analysis.m
@@ -1,5 +1,5 @@
function oo_ = prior_analysis(type,arg1,arg2,arg3,options_,M_,oo_,estim_params_)
-% Copyright (C) 2009-2015 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/prior_bounds.m b/matlab/prior_bounds.m
index 83127f7aa..56ef1eb32 100644
--- a/matlab/prior_bounds.m
+++ b/matlab/prior_bounds.m
@@ -47,7 +47,7 @@ function bounds = prior_bounds(bayestopt, prior_trunc)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2015 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/qr2.m b/matlab/qr2.m
index 2d00e1c2c..bdd1c0dea 100644
--- a/matlab/qr2.m
+++ b/matlab/qr2.m
@@ -17,7 +17,7 @@ function [Q,R] = qr2(varargin)
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 2006-2012 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/quadratic_matrix_equation_solver.m b/matlab/quadratic_matrix_equation_solver.m
index 3ecfe2528..40342085e 100644
--- a/matlab/quadratic_matrix_equation_solver.m
+++ b/matlab/quadratic_matrix_equation_solver.m
@@ -47,7 +47,7 @@ function [X,info] = quadratic_matrix_equation_solver(A,B,C,tol,maxit,line_search
%! @end deftypefn
%@eod:
-% Copyright (C) 2012-2014 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/qzdiv.m b/matlab/qzdiv.m
index 8b6e58a58..ba5206efa 100644
--- a/matlab/qzdiv.m
+++ b/matlab/qzdiv.m
@@ -10,7 +10,7 @@ function [A,B,Q,Z] = qzdiv(stake,A,B,Q,Z)
% http://sims.princeton.edu/yftp/gensys/mfiles/qzdiv.m
% Copyright (C) 1993-2007 Christopher Sims
-% Copyright (C) 2008-2011 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/read_data_.m b/matlab/read_data_.m
index 32c61ea81..d7de0843d 100644
--- a/matlab/read_data_.m
+++ b/matlab/read_data_.m
@@ -12,7 +12,7 @@ function read_data_()
% SPECIAL REQUIREMENT
% none
-% Copyright (C) 2007-2012 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/read_key_value_string.m b/matlab/read_key_value_string.m
index d92fb2698..446afd2f5 100644
--- a/matlab/read_key_value_string.m
+++ b/matlab/read_key_value_string.m
@@ -4,7 +4,7 @@ function c = read_key_value_string(s)
% estimation command) into a cell (first column for the option name ans second column for the
% option value).
-% Copyright (C) 2011-2016 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/read_variables.m b/matlab/read_variables.m
index 34a50c9eb..a50501252 100644
--- a/matlab/read_variables.m
+++ b/matlab/read_variables.m
@@ -17,7 +17,7 @@ function dyn_data_01=read_variables(file_name_01,var_names_01,dyn_data_01,xls_sh
% all local variables have complicated names in order to avoid name
% conflicts with possible user variable names
-% Copyright (C) 2005-2014 Dynare Team
+% Copyright (C) 2005-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/recursive_moments.m b/matlab/recursive_moments.m
index e446c86bf..4d38d9b1b 100644
--- a/matlab/recursive_moments.m
+++ b/matlab/recursive_moments.m
@@ -19,7 +19,7 @@ function [mu,sigma,offset] = recursive_moments(m0,s0,data,offset)
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 2006-2009 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/resid.m b/matlab/resid.m
index 817544f8f..f124409c1 100644
--- a/matlab/resid.m
+++ b/matlab/resid.m
@@ -12,7 +12,7 @@ function z = resid(junk)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2016 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/row_header_width.m b/matlab/row_header_width.m
index 2ad7dee28..e3a995502 100644
--- a/matlab/row_header_width.m
+++ b/matlab/row_header_width.m
@@ -13,7 +13,7 @@ function w=row_header_width(M_,estim_params_,bayestopt_)
% SPECIAL REQUIREMENTS
% None.
-% Copyright (C) 2006-2013 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/sample_autocovariance.m b/matlab/sample_autocovariance.m
index 67f1f9b59..3ae17e1a0 100644
--- a/matlab/sample_autocovariance.m
+++ b/matlab/sample_autocovariance.m
@@ -13,7 +13,7 @@ function [autocov,autocor] = sample_autocovariance(data,q)
%
% SPECIAL REQUIREMENTS
-% Copyright (C) 2003-2008 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/sample_hp_filter.m b/matlab/sample_hp_filter.m
index 911d0aabd..381086b3d 100644
--- a/matlab/sample_hp_filter.m
+++ b/matlab/sample_hp_filter.m
@@ -12,7 +12,7 @@ function [hptrend,hpcycle] = sample_hp_filter(y,s)
% SPECIAL REQUIREMENTS
%
-% Copyright (C) 2010-2013 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/save_params_and_steady_state.m b/matlab/save_params_and_steady_state.m
index bbfee51a6..273800fce 100644
--- a/matlab/save_params_and_steady_state.m
+++ b/matlab/save_params_and_steady_state.m
@@ -22,7 +22,7 @@ function save_params_and_steady_state(filename)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/score.m b/matlab/score.m
index 112be5345..06c01cc0d 100644
--- a/matlab/score.m
+++ b/matlab/score.m
@@ -8,7 +8,7 @@ function [DLIK] = score(T,R,Q,H,P,Y,DT,DYss,DOm,DH,DP,start,mf,kalman_tol,riccat
% NOTE: the derivative matrices (DT,DR ...) are 3-dim. arrays with last
% dimension equal to the number of structural parameters
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/selif.m b/matlab/selif.m
index 452adcc39..6a79f486c 100644
--- a/matlab/selif.m
+++ b/matlab/selif.m
@@ -1,6 +1,6 @@
function x = selif(a,b)
-% Copyright (C) 2001-2009 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/set_all_parameters.m b/matlab/set_all_parameters.m
index 3b52d3da4..2f4fcc28e 100644
--- a/matlab/set_all_parameters.m
+++ b/matlab/set_all_parameters.m
@@ -33,7 +33,7 @@ function M = set_all_parameters(xparam1,estim_params,M)
%! @end deftypefn
%@eod:
-% Copyright (C) 2003-2016 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/set_default_option.m b/matlab/set_default_option.m
index 94e41c475..44976a15a 100644
--- a/matlab/set_default_option.m
+++ b/matlab/set_default_option.m
@@ -14,7 +14,7 @@ function options=set_default_option(options,field,default)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2014 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/set_dynare_random_generator_state.m b/matlab/set_dynare_random_generator_state.m
index 0cfda7dd2..a06fdff5d 100644
--- a/matlab/set_dynare_random_generator_state.m
+++ b/matlab/set_dynare_random_generator_state.m
@@ -6,7 +6,7 @@ function [state_u,state_n] = set_dynare_random_generator_state(state_u,state_n)
% For backward compatibility, we return two vectors, but, in recent
% versions of Matlab and in Octave, we return two identical vectors.
%
-% Copyright (C) 2010-2013 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/set_dynare_seed.m b/matlab/set_dynare_seed.m
index e79dadef9..65c5e0587 100644
--- a/matlab/set_dynare_seed.m
+++ b/matlab/set_dynare_seed.m
@@ -2,7 +2,7 @@ function set_dynare_seed(a,b)
% Set seeds depending on matlab (octave) version. This routine is called in dynare_config and can be called by the
% user in the mod file.
%
-% Copyright (C) 2010-2014 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/set_parameters.m b/matlab/set_parameters.m
index 932e94c1e..15f4175ed 100644
--- a/matlab/set_parameters.m
+++ b/matlab/set_parameters.m
@@ -14,7 +14,7 @@ function set_parameters(xparam1)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2003-2013 Dynare Team
+% Copyright (C) 2003-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/simul_backward_linear_model.m b/matlab/simul_backward_linear_model.m
index bb2b97969..44555449f 100644
--- a/matlab/simul_backward_linear_model.m
+++ b/matlab/simul_backward_linear_model.m
@@ -34,7 +34,7 @@ function DynareOutput = simul_backward_linear_model(initial_conditions, sample_s
%! @end deftypefn
%@eod:
-% Copyright (C) 2012-2016 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/simul_backward_model.m b/matlab/simul_backward_model.m
index edc705a4c..087c85a27 100644
--- a/matlab/simul_backward_model.m
+++ b/matlab/simul_backward_model.m
@@ -34,7 +34,7 @@ function DynareOutput = simul_backward_model(initial_conditions, sample_size, Dy
%! @end deftypefn
%@eod:
-% Copyright (C) 2012-2016 Dynare Team
+% Copyright (C) 2012-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/simultxdet.m b/matlab/simultxdet.m
index 7de335e06..21f0421e4 100644
--- a/matlab/simultxdet.m
+++ b/matlab/simultxdet.m
@@ -22,7 +22,7 @@ function [y_,int_width,int_width_ME]=simultxdet(y0,ex,ex_det, iorder,var_list,M_
% The condition size(ex,1)+M_.maximum_lag=size(ex_det,1) must be verified
% for consistency.
-% Copyright (C) 2008-2016 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/skipline.m b/matlab/skipline.m
index b9ecaac14..f148997b8 100644
--- a/matlab/skipline.m
+++ b/matlab/skipline.m
@@ -10,7 +10,7 @@ function skipline(n, fid)
% None
%
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/steady_.m b/matlab/steady_.m
index 01b935a68..46c0e3411 100644
--- a/matlab/steady_.m
+++ b/matlab/steady_.m
@@ -18,7 +18,7 @@ function [steady_state,params,info] = steady_(M_,options_,oo_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2001-2016 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/step_length_correction.m b/matlab/step_length_correction.m
index 5af7dcaee..89710637b 100644
--- a/matlab/step_length_correction.m
+++ b/matlab/step_length_correction.m
@@ -1,6 +1,6 @@
function c = step_length_correction(x,scale,i)
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/subset.m b/matlab/subset.m
index 5cae1ee35..946ebdcc5 100644
--- a/matlab/subset.m
+++ b/matlab/subset.m
@@ -1,6 +1,6 @@
function jndx = subset()
-% Copyright (C) 2006-2013 Dynare Team
+% Copyright (C) 2006-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/symmetric_matrix_index.m b/matlab/symmetric_matrix_index.m
index b084fc892..60b2afe70 100644
--- a/matlab/symmetric_matrix_index.m
+++ b/matlab/symmetric_matrix_index.m
@@ -11,7 +11,7 @@ function k = symmetric_matrix_index(i,j,n)
% Outputs:
% k [scalar] index of variable combination in vech(A)
-% Copyright (C) 2007-2015 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/test_for_deep_parameters_calibration.m b/matlab/test_for_deep_parameters_calibration.m
index 518191032..3cdc831b9 100644
--- a/matlab/test_for_deep_parameters_calibration.m
+++ b/matlab/test_for_deep_parameters_calibration.m
@@ -13,7 +13,7 @@ function info=test_for_deep_parameters_calibration(M_)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2010-2015 Dynare Team
+% Copyright (C) 2010-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/trust_region.m b/matlab/trust_region.m
index beb0360a3..13f11bd3d 100644
--- a/matlab/trust_region.m
+++ b/matlab/trust_region.m
@@ -25,7 +25,7 @@ function [x,check,info] = trust_region(fcn,x0,j1,j2,jacobian_flag,gstep,tolf,tol
% none
% Copyright (C) 2008-2012 VZLU Prague, a.s.
-% Copyright (C) 2014-2016 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/uniform_specification.m b/matlab/uniform_specification.m
index cc35fb330..6baceb82f 100644
--- a/matlab/uniform_specification.m
+++ b/matlab/uniform_specification.m
@@ -16,7 +16,7 @@ function [m,s,p6,p7] = uniform_specification(m,s,p3,p4)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2004-2011 Dynare Team
+% Copyright (C) 2004-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/update_last_mh_history_file.m b/matlab/update_last_mh_history_file.m
index 643b900ce..a0e2d4a96 100644
--- a/matlab/update_last_mh_history_file.m
+++ b/matlab/update_last_mh_history_file.m
@@ -7,7 +7,7 @@ function update_last_mh_history_file(MetropolisFolder, ModelName, record)
% record [structure] structure storing the MH history
% Outputs: none
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/dataset/descriptive_statistics.m b/matlab/utilities/dataset/descriptive_statistics.m
index 0c5b4bf9a..79d324141 100644
--- a/matlab/utilities/dataset/descriptive_statistics.m
+++ b/matlab/utilities/dataset/descriptive_statistics.m
@@ -45,7 +45,7 @@ function dataset_ = descriptive_statistics(dataset_,statistic,varagin)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/dataset/initialize_dataset.m b/matlab/utilities/dataset/initialize_dataset.m
index 781e1b294..d7e3ed384 100644
--- a/matlab/utilities/dataset/initialize_dataset.m
+++ b/matlab/utilities/dataset/initialize_dataset.m
@@ -1,7 +1,7 @@
function dataset_ = initialize_dataset(datafile,varobs,first,nobs,logged_data_flag,prefilter,xls)
% Initializes a structure describing the dataset.
-% Copyright (C) 2011-2014 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/dataset/makedataset.m b/matlab/utilities/dataset/makedataset.m
index e949b5e5b..85d86d841 100644
--- a/matlab/utilities/dataset/makedataset.m
+++ b/matlab/utilities/dataset/makedataset.m
@@ -23,6 +23,24 @@ function [DynareDataset, DatasetInfo, newdatainterface] = makedataset(DynareOpti
%
% See also dynare_estimation_init
+% Copyright (C) 2014-2017 Dynare Team
+%
+% 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.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
+
+
if nargin<3
gsa_flag = 0;
end
diff --git a/matlab/utilities/dataset/nanvariance.m b/matlab/utilities/dataset/nanvariance.m
index 85311dab0..121fb2dda 100644
--- a/matlab/utilities/dataset/nanvariance.m
+++ b/matlab/utilities/dataset/nanvariance.m
@@ -30,7 +30,7 @@ function variances = nanvariance(data)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011-2014 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/doc/get_internal_doc_block.m b/matlab/utilities/doc/get_internal_doc_block.m
index f0d8ce696..96dda6d6f 100644
--- a/matlab/utilities/doc/get_internal_doc_block.m
+++ b/matlab/utilities/doc/get_internal_doc_block.m
@@ -1,7 +1,7 @@
function block = get_internal_doc_block(fname,fpath)
% Extract doc sections from matlab's routine.
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/compare_vectors.m b/matlab/utilities/general/compare_vectors.m
index 3264d8841..00ea0c11e 100644
--- a/matlab/utilities/general/compare_vectors.m
+++ b/matlab/utilities/general/compare_vectors.m
@@ -13,7 +13,7 @@ function C = compare_vectors(f, A, B) % --*-- Unitary tests --*--
% REMARKS
% o It is assumed that vectors A and B have the same number of elements.
-% Copyright (C) 2013-2014 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/delete_stale_file.m b/matlab/utilities/general/delete_stale_file.m
index cce629fe3..d5e9951e4 100644
--- a/matlab/utilities/general/delete_stale_file.m
+++ b/matlab/utilities/general/delete_stale_file.m
@@ -2,7 +2,7 @@ function delete_stale_file(fname)
% function delete_old_files(fname)
% Checks for presence of files and deletes them if necessary
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/demean.m b/matlab/utilities/general/demean.m
index fc7096e97..741a2f107 100644
--- a/matlab/utilities/general/demean.m
+++ b/matlab/utilities/general/demean.m
@@ -27,7 +27,7 @@ function c = demean(x)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/disp_verbose.m b/matlab/utilities/general/disp_verbose.m
index 504c4403c..6ea4e702e 100644
--- a/matlab/utilities/general/disp_verbose.m
+++ b/matlab/utilities/general/disp_verbose.m
@@ -2,7 +2,7 @@ function disp_verbose(input_string,Verbose)
% function disp_verbose(input_string,Verbose)
% Prints input_string unless Verbose=0 is requested
%
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/dyn_mex.m b/matlab/utilities/general/dyn_mex.m
index 9220bfdd5..ec682aebb 100644
--- a/matlab/utilities/general/dyn_mex.m
+++ b/matlab/utilities/general/dyn_mex.m
@@ -15,7 +15,7 @@ function dyn_mex(win_compiler,basename,force)
%
-% Copyright (C) 2015-2016 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/get_all_variables_but_lagged_leaded_exogenous.m b/matlab/utilities/general/get_all_variables_but_lagged_leaded_exogenous.m
index 8a6fb5657..1e092e0ac 100644
--- a/matlab/utilities/general/get_all_variables_but_lagged_leaded_exogenous.m
+++ b/matlab/utilities/general/get_all_variables_but_lagged_leaded_exogenous.m
@@ -9,7 +9,7 @@ function k = get_all_variables_but_lagged_leaded_exogenous(M)
% k: vector of variable indices
%
-% Copyright (C) 2011-2016 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/indices_lagged_leaded_exogenous_variables.m b/matlab/utilities/general/indices_lagged_leaded_exogenous_variables.m
index 5d2d6b437..a199b4b0f 100644
--- a/matlab/utilities/general/indices_lagged_leaded_exogenous_variables.m
+++ b/matlab/utilities/general/indices_lagged_leaded_exogenous_variables.m
@@ -12,7 +12,7 @@ function [il,l1,ik,k1] = indices_lagged_leaded_exogenous_variables(k,M)
% ik: indices of non lagged or leaded variable in vector k
% k1: value of non lagged or leaded variable in vector k
-% Copyright (C) 2011-2016 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/isconst.m b/matlab/utilities/general/isconst.m
index aabff20ad..28001ce4e 100644
--- a/matlab/utilities/general/isconst.m
+++ b/matlab/utilities/general/isconst.m
@@ -10,7 +10,7 @@ function aa = isconst(y)
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2014 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/isdiagonal.m b/matlab/utilities/general/isdiagonal.m
index aa32c4c01..a8c1a4cf8 100644
--- a/matlab/utilities/general/isdiagonal.m
+++ b/matlab/utilities/general/isdiagonal.m
@@ -1,6 +1,6 @@
function b = isdiagonal(A) % --*-- Unitary tests --*--
-% Copyright (C) 2014 Dynare Team
+% Copyright (C) 2014-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/isint.m b/matlab/utilities/general/isint.m
index 5a0a94e0a..c40ef792e 100644
--- a/matlab/utilities/general/isint.m
+++ b/matlab/utilities/general/isint.m
@@ -15,7 +15,7 @@ function [b,c,d] = isint(a)
% NOTES
% p+q is equal to the product of m by n.
-% Copyright (C) 2009-2014 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/ispd.m b/matlab/utilities/general/ispd.m
index 7fed2d44c..7ddd73e8a 100644
--- a/matlab/utilities/general/ispd.m
+++ b/matlab/utilities/general/ispd.m
@@ -24,7 +24,7 @@ function [test, penalty] = ispd(A)
%! @end deftypefn
%@eod:
-% Copyright (C) 2007-2009, 2013 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/log_variable.m b/matlab/utilities/general/log_variable.m
index 1c6de682a..98956a77c 100644
--- a/matlab/utilities/general/log_variable.m
+++ b/matlab/utilities/general/log_variable.m
@@ -12,7 +12,7 @@ function y = log_variable(ivar,x,M)
% for lagged/leaded exogenous variables
%
-% Copyright (C) 2011-2016 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/ndim.m b/matlab/utilities/general/ndim.m
index 8d55e48e8..95dda019d 100644
--- a/matlab/utilities/general/ndim.m
+++ b/matlab/utilities/general/ndim.m
@@ -27,7 +27,7 @@ function n = ndim(x)
%! @end deftypefn
%@eod:
-% Copyright (C) 2011-2012 Dynare Team
+% Copyright (C) 2011-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/general/remove_fractional_xticks.m b/matlab/utilities/general/remove_fractional_xticks.m
index d2c70633f..5cf6f33fd 100644
--- a/matlab/utilities/general/remove_fractional_xticks.m
+++ b/matlab/utilities/general/remove_fractional_xticks.m
@@ -2,7 +2,7 @@ function remove_fractional_xticks
% function remove_fractional_xticks
% removes non-integer xtick-labels
-% Copyright (C) 2001-2016 Dynare Team
+% Copyright (C) 2001-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/utilities/graphics/colorspace.m b/matlab/utilities/graphics/colorspace.m
index b70e2486d..a83aee2ff 100644
--- a/matlab/utilities/graphics/colorspace.m
+++ b/matlab/utilities/graphics/colorspace.m
@@ -81,30 +81,23 @@ function varargout = colorspace(Conversion,varargin)
% correspond respectively to red ("long"), green ("medium"), and blue
% ("short").
-% Pascal Getreuer 2005-2010
-% All rights reserved.
+% Copyright (C) 2005-2010 Pascal Getreuer
+% Copyright (C) 2017 Dynare Team
%
-% Redistribution and use in source and binary forms, with or without
-% modification, are permitted provided that the following conditions are
-% met:
+% This file is part of Dynare.
%
-% * Redistributions of source code must retain the above copyright
-% notice, this list of conditions and the following disclaimer.
-% * Redistributions in binary form must reproduce the above copyright
-% notice, this list of conditions and the following disclaimer in
-% the documentation and/or other materials provided with the distribution
+% 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.
%
-% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-% AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-% IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-% ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-% LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-% CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-% SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-% INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-% CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-% ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-% POSSIBILITY OF SUCH DAMAGE.
+% 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.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
%%% Input parsing %%%
if nargin < 2, error('Not enough input arguments.'); end
diff --git a/matlab/utilities/graphics/distinguishable_colors.m b/matlab/utilities/graphics/distinguishable_colors.m
index 6b927be2e..027ad2cb6 100644
--- a/matlab/utilities/graphics/distinguishable_colors.m
+++ b/matlab/utilities/graphics/distinguishable_colors.m
@@ -53,32 +53,24 @@ function colors = distinguishable_colors(n_colors,bg,func)
% Example using the file exchange's 'colorspace':
% func = @(x) colorspace('RGB->Lab',x);
% c = distinguishable_colors(25,'w',func);
-
-% Copyright 2010-2011 by Timothy E. Holy
-% All rights reserved.
+
+% Copyright (C) 2005-2010 2010-2011 by Timothy E. Holy
+% Copyright (C) 2017 Dynare Team
%
-% Redistribution and use in source and binary forms, with or without
-% modification, are permitted provided that the following conditions are
-% met:
+% This file is part of Dynare.
%
-% * Redistributions of source code must retain the above copyright
-% notice, this list of conditions and the following disclaimer.
-% * Redistributions in binary form must reproduce the above copyright
-% notice, this list of conditions and the following disclaimer in
-% the documentation and/or other materials provided with the distribution
+% 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.
%
-% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-% AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-% IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-% ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-% LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-% CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-% SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-% INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-% CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-% ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-% POSSIBILITY OF SUCH DAMAGE.
-
+% 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.
+%
+% You should have received a copy of the GNU General Public License
+% along with Dynare. If not, see .
% Parse the inputs
if (nargin < 2)
diff --git a/matlab/variance_decomposition_mc_analysis.m b/matlab/variance_decomposition_mc_analysis.m
index 2c11fdb02..4621f25d3 100644
--- a/matlab/variance_decomposition_mc_analysis.m
+++ b/matlab/variance_decomposition_mc_analysis.m
@@ -25,7 +25,7 @@ function oo_ = variance_decomposition_mc_analysis(NumberOfSimulations,type,dname
-% Copyright (C) 2008-2015 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/vnorm.m b/matlab/vnorm.m
index 56be98bb4..5d3cdadd6 100644
--- a/matlab/vnorm.m
+++ b/matlab/vnorm.m
@@ -35,7 +35,7 @@ function y = vnorm(A,varargin)
% vnorm(A,[],inf) % Correct
%
%
-% Copyright (C) 2009-2011 Dynare Team
+% Copyright (C) 2009-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/warning_config.m b/matlab/warning_config.m
index 79098a610..a7cbaab92 100644
--- a/matlab/warning_config.m
+++ b/matlab/warning_config.m
@@ -10,7 +10,7 @@ function warning_config()
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2008-2015 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/write_latex_definitions.m b/matlab/write_latex_definitions.m
index 144f6242b..e9345ac6a 100644
--- a/matlab/write_latex_definitions.m
+++ b/matlab/write_latex_definitions.m
@@ -12,7 +12,7 @@ function write_latex_definitions
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2013 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/write_latex_prior_table.m b/matlab/write_latex_prior_table.m
index db9c8bfbc..2fb738bd7 100644
--- a/matlab/write_latex_prior_table.m
+++ b/matlab/write_latex_prior_table.m
@@ -11,7 +11,7 @@ function write_latex_prior_table
% SPECIAL REQUIREMENTS
% none
-% Copyright (C) 2015-16 Dynare Team
+% Copyright (C) 2015-2017 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 2cc7ef2d8..72ce6a22e 100644
--- a/matlab/write_mh_history_file.m
+++ b/matlab/write_mh_history_file.m
@@ -8,7 +8,7 @@ function i = write_mh_history_file(MetropolisFolder, ModelName, record)
% Outputs:
% i [scalar] number of the mh_history file
-% Copyright (C) 2013-2015 Dynare Team
+% Copyright (C) 2013-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/writecellofchar.m b/matlab/writecellofchar.m
index 5251a31e6..c08f4bb50 100644
--- a/matlab/writecellofchar.m
+++ b/matlab/writecellofchar.m
@@ -21,7 +21,7 @@ function str = writecellofchar(c)
%
%{'a', '['b'; 'c']', 'd'}
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/writedata.m b/matlab/writedata.m
index 1512d0827..c714728fc 100644
--- a/matlab/writedata.m
+++ b/matlab/writedata.m
@@ -10,7 +10,7 @@ function writedata(fname)
% SPECIAL REQUIREMENT
% none
-% Copyright (C) 2007-2014 Dynare Team
+% Copyright (C) 2007-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/matlab/writematrixofchar.m b/matlab/writematrixofchar.m
index 59e8fdb63..5f3f26359 100644
--- a/matlab/writematrixofchar.m
+++ b/matlab/writematrixofchar.m
@@ -17,7 +17,7 @@ function str = writematrixofchar(m)
%
% where the returned argument is a string which can be evaluated or printed.
-% Copyright (C) 2015 Dynare Team
+% Copyright (C) 2015-2017 Dynare Team
%
% This file is part of Dynare.
%
diff --git a/mex/sources/block_kalman_filter/block_kalman_filter.cc b/mex/sources/block_kalman_filter/block_kalman_filter.cc
index 6ef1087a6..4da025ce7 100644
--- a/mex/sources/block_kalman_filter/block_kalman_filter.cc
+++ b/mex/sources/block_kalman_filter/block_kalman_filter.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2013 Dynare Team
+ * Copyright (C) 2007-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/block_kalman_filter/block_kalman_filter.h b/mex/sources/block_kalman_filter/block_kalman_filter.h
index 83eac9a44..28cb75396 100644
--- a/mex/sources/block_kalman_filter/block_kalman_filter.h
+++ b/mex/sources/block_kalman_filter/block_kalman_filter.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2012 Dynare Team
+ * Copyright (C) 2007-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/bytecode/testing/mex_interface.hh b/mex/sources/bytecode/testing/mex_interface.hh
index d734c8366..aaee45edf 100644
--- a/mex/sources/bytecode/testing/mex_interface.hh
+++ b/mex/sources/bytecode/testing/mex_interface.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2011 Dynare Team
+ * Copyright (C) 2007-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/dynumfpack.h b/mex/sources/dynumfpack.h
index d21ed7954..1eb5511d3 100644
--- a/mex/sources/dynumfpack.h
+++ b/mex/sources/dynumfpack.h
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 2013 Dynare Team
+ * Copyright (C) 2013-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/DecisionRules.cc b/mex/sources/estimation/DecisionRules.cc
index d8e38960f..41c095925 100644
--- a/mex/sources/estimation/DecisionRules.cc
+++ b/mex/sources/estimation/DecisionRules.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/DecisionRules.hh b/mex/sources/estimation/DecisionRules.hh
index 069536e8f..65b965aea 100644
--- a/mex/sources/estimation/DecisionRules.hh
+++ b/mex/sources/estimation/DecisionRules.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/DetrendData.cc b/mex/sources/estimation/DetrendData.cc
index 7a24c89e5..f9fa1b76d 100644
--- a/mex/sources/estimation/DetrendData.cc
+++ b/mex/sources/estimation/DetrendData.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/DetrendData.hh b/mex/sources/estimation/DetrendData.hh
index ce4d185cc..408b14a11 100644
--- a/mex/sources/estimation/DetrendData.hh
+++ b/mex/sources/estimation/DetrendData.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/EstimatedParameter.cc b/mex/sources/estimation/EstimatedParameter.cc
index a6810ceb1..5fd2bad2b 100644
--- a/mex/sources/estimation/EstimatedParameter.cc
+++ b/mex/sources/estimation/EstimatedParameter.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2011 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/EstimatedParameter.hh b/mex/sources/estimation/EstimatedParameter.hh
index 69f2e3be8..52cc26187 100644
--- a/mex/sources/estimation/EstimatedParameter.hh
+++ b/mex/sources/estimation/EstimatedParameter.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2011 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/EstimatedParametersDescription.hh b/mex/sources/estimation/EstimatedParametersDescription.hh
index 24a210d1c..2fc2ad8ea 100644
--- a/mex/sources/estimation/EstimatedParametersDescription.hh
+++ b/mex/sources/estimation/EstimatedParametersDescription.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2010 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/EstimationSubsample.cc b/mex/sources/estimation/EstimationSubsample.cc
index 51d6c556d..a8dba8039 100644
--- a/mex/sources/estimation/EstimationSubsample.cc
+++ b/mex/sources/estimation/EstimationSubsample.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2010 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/EstimationSubsample.hh b/mex/sources/estimation/EstimationSubsample.hh
index b4e6ad459..d8c90723a 100644
--- a/mex/sources/estimation/EstimationSubsample.hh
+++ b/mex/sources/estimation/EstimationSubsample.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2011 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/InitializeKalmanFilter.cc b/mex/sources/estimation/InitializeKalmanFilter.cc
index adbd7565d..095032494 100644
--- a/mex/sources/estimation/InitializeKalmanFilter.cc
+++ b/mex/sources/estimation/InitializeKalmanFilter.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/InitializeKalmanFilter.hh b/mex/sources/estimation/InitializeKalmanFilter.hh
index 7a49f7ad1..a78b5970e 100644
--- a/mex/sources/estimation/InitializeKalmanFilter.hh
+++ b/mex/sources/estimation/InitializeKalmanFilter.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/KalmanFilter.cc b/mex/sources/estimation/KalmanFilter.cc
index a97a7110b..db9628b81 100644
--- a/mex/sources/estimation/KalmanFilter.cc
+++ b/mex/sources/estimation/KalmanFilter.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/KalmanFilter.hh b/mex/sources/estimation/KalmanFilter.hh
index f199ec87b..4de6e156e 100644
--- a/mex/sources/estimation/KalmanFilter.hh
+++ b/mex/sources/estimation/KalmanFilter.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/LogLikelihoodMain.cc b/mex/sources/estimation/LogLikelihoodMain.cc
index 42ebd789b..e775dbc3b 100644
--- a/mex/sources/estimation/LogLikelihoodMain.cc
+++ b/mex/sources/estimation/LogLikelihoodMain.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/LogLikelihoodMain.hh b/mex/sources/estimation/LogLikelihoodMain.hh
index e18c84cb2..33863f336 100644
--- a/mex/sources/estimation/LogLikelihoodMain.hh
+++ b/mex/sources/estimation/LogLikelihoodMain.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/LogLikelihoodSubSample.cc b/mex/sources/estimation/LogLikelihoodSubSample.cc
index 7d53b67fb..6c647c1f8 100644
--- a/mex/sources/estimation/LogLikelihoodSubSample.cc
+++ b/mex/sources/estimation/LogLikelihoodSubSample.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/LogLikelihoodSubSample.hh b/mex/sources/estimation/LogLikelihoodSubSample.hh
index e87071ffa..e9f0dbe9a 100644
--- a/mex/sources/estimation/LogLikelihoodSubSample.hh
+++ b/mex/sources/estimation/LogLikelihoodSubSample.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/LogPosteriorDensity.cc b/mex/sources/estimation/LogPosteriorDensity.cc
index b7b94dbbd..c87e6dee7 100644
--- a/mex/sources/estimation/LogPosteriorDensity.cc
+++ b/mex/sources/estimation/LogPosteriorDensity.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/LogPosteriorDensity.hh b/mex/sources/estimation/LogPosteriorDensity.hh
index c8088bcb7..425eb625a 100644
--- a/mex/sources/estimation/LogPosteriorDensity.hh
+++ b/mex/sources/estimation/LogPosteriorDensity.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2013 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/LogPriorDensity.hh b/mex/sources/estimation/LogPriorDensity.hh
index b1f424810..c7c57a6bd 100644
--- a/mex/sources/estimation/LogPriorDensity.hh
+++ b/mex/sources/estimation/LogPriorDensity.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2012 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/ModelSolution.cc b/mex/sources/estimation/ModelSolution.cc
index 3a8478dd8..abeb02124 100644
--- a/mex/sources/estimation/ModelSolution.cc
+++ b/mex/sources/estimation/ModelSolution.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/ModelSolution.hh b/mex/sources/estimation/ModelSolution.hh
index 88f312056..8bdc4a66a 100644
--- a/mex/sources/estimation/ModelSolution.hh
+++ b/mex/sources/estimation/ModelSolution.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/Prior.hh b/mex/sources/estimation/Prior.hh
index c3d0ce3e1..f550e2b75 100644
--- a/mex/sources/estimation/Prior.hh
+++ b/mex/sources/estimation/Prior.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2011 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/Proposal.cc b/mex/sources/estimation/Proposal.cc
index f632ab2c4..8bf5933d4 100644
--- a/mex/sources/estimation/Proposal.cc
+++ b/mex/sources/estimation/Proposal.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2010 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/Proposal.hh b/mex/sources/estimation/Proposal.hh
index 7d1386cc8..4beb1c9dd 100644
--- a/mex/sources/estimation/Proposal.hh
+++ b/mex/sources/estimation/Proposal.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2011 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/RandomWalkMetropolisHastings.hh b/mex/sources/estimation/RandomWalkMetropolisHastings.hh
index 0a28dbb4e..c09b2c9df 100644
--- a/mex/sources/estimation/RandomWalkMetropolisHastings.hh
+++ b/mex/sources/estimation/RandomWalkMetropolisHastings.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/SteadyStateSolver.cc b/mex/sources/estimation/SteadyStateSolver.cc
index 03361cda2..a0bb7cbe0 100644
--- a/mex/sources/estimation/SteadyStateSolver.cc
+++ b/mex/sources/estimation/SteadyStateSolver.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Dynare Team
+ * Copyright (C) 2013-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/SteadyStateSolver.hh b/mex/sources/estimation/SteadyStateSolver.hh
index 846543c7d..726d8594b 100644
--- a/mex/sources/estimation/SteadyStateSolver.hh
+++ b/mex/sources/estimation/SteadyStateSolver.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Dynare Team
+ * Copyright (C) 2013-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/libmat/DiscLyapFast.hh b/mex/sources/estimation/libmat/DiscLyapFast.hh
index 1acef6dad..b85d73728 100644
--- a/mex/sources/estimation/libmat/DiscLyapFast.hh
+++ b/mex/sources/estimation/libmat/DiscLyapFast.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/libmat/GeneralizedSchurDecomposition.cc b/mex/sources/estimation/libmat/GeneralizedSchurDecomposition.cc
index ca6fde75a..47fc2816e 100644
--- a/mex/sources/estimation/libmat/GeneralizedSchurDecomposition.cc
+++ b/mex/sources/estimation/libmat/GeneralizedSchurDecomposition.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/libmat/GeneralizedSchurDecomposition.hh b/mex/sources/estimation/libmat/GeneralizedSchurDecomposition.hh
index 3d2898f84..e6d939604 100644
--- a/mex/sources/estimation/libmat/GeneralizedSchurDecomposition.hh
+++ b/mex/sources/estimation/libmat/GeneralizedSchurDecomposition.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/libmat/LUSolver.hh b/mex/sources/estimation/libmat/LUSolver.hh
index 1c0af58c1..16ab45dad 100644
--- a/mex/sources/estimation/libmat/LUSolver.hh
+++ b/mex/sources/estimation/libmat/LUSolver.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/libmat/Matrix.hh b/mex/sources/estimation/libmat/Matrix.hh
index 774811f5d..b17e5b3ce 100644
--- a/mex/sources/estimation/libmat/Matrix.hh
+++ b/mex/sources/estimation/libmat/Matrix.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2012 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/libmat/QRDecomposition.hh b/mex/sources/estimation/libmat/QRDecomposition.hh
index 0d1f900dc..d77c2baaf 100644
--- a/mex/sources/estimation/libmat/QRDecomposition.hh
+++ b/mex/sources/estimation/libmat/QRDecomposition.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/libmat/Vector.hh b/mex/sources/estimation/libmat/Vector.hh
index 5deaa4deb..f4c71c404 100644
--- a/mex/sources/estimation/libmat/Vector.hh
+++ b/mex/sources/estimation/libmat/Vector.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/logMHMCMCposterior.cc b/mex/sources/estimation/logMHMCMCposterior.cc
index ee9dd2f64..6551701d8 100644
--- a/mex/sources/estimation/logMHMCMCposterior.cc
+++ b/mex/sources/estimation/logMHMCMCposterior.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/logposterior.cc b/mex/sources/estimation/logposterior.cc
index 319d5e517..95e4e3cbe 100644
--- a/mex/sources/estimation/logposterior.cc
+++ b/mex/sources/estimation/logposterior.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/tests/testInitKalman.cc b/mex/sources/estimation/tests/testInitKalman.cc
index 21bd12954..28139ccdb 100644
--- a/mex/sources/estimation/tests/testInitKalman.cc
+++ b/mex/sources/estimation/tests/testInitKalman.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/tests/testKalman.cc b/mex/sources/estimation/tests/testKalman.cc
index 29e85c600..f75f3459e 100644
--- a/mex/sources/estimation/tests/testKalman.cc
+++ b/mex/sources/estimation/tests/testKalman.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/utils/dynamic_dll.cc b/mex/sources/estimation/utils/dynamic_dll.cc
index c4eeecc68..e9d126d9e 100644
--- a/mex/sources/estimation/utils/dynamic_dll.cc
+++ b/mex/sources/estimation/utils/dynamic_dll.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/utils/dynamic_dll.hh b/mex/sources/estimation/utils/dynamic_dll.hh
index ce346d08a..5e19472ee 100644
--- a/mex/sources/estimation/utils/dynamic_dll.hh
+++ b/mex/sources/estimation/utils/dynamic_dll.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/utils/static_dll.hh b/mex/sources/estimation/utils/static_dll.hh
index 3ca5febc3..36b28a9f2 100644
--- a/mex/sources/estimation/utils/static_dll.hh
+++ b/mex/sources/estimation/utils/static_dll.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/estimation/utils/ts_exception.h b/mex/sources/estimation/utils/ts_exception.h
index ba0bfb324..c3d3ea3c7 100644
--- a/mex/sources/estimation/utils/ts_exception.h
+++ b/mex/sources/estimation/utils/ts_exception.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/k_order_perturbation/dynamic_dll.hh b/mex/sources/k_order_perturbation/dynamic_dll.hh
index 922f1d12d..15b4acfe9 100644
--- a/mex/sources/k_order_perturbation/dynamic_dll.hh
+++ b/mex/sources/k_order_perturbation/dynamic_dll.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008-2012 Dynare Team
+ * Copyright (C) 2008-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/k_order_perturbation/dynamic_m.hh b/mex/sources/k_order_perturbation/dynamic_m.hh
index 746acdedc..260d07ef8 100644
--- a/mex/sources/k_order_perturbation/dynamic_m.hh
+++ b/mex/sources/k_order_perturbation/dynamic_m.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/k_order_perturbation/k_ord_dynare.cc b/mex/sources/k_order_perturbation/k_ord_dynare.cc
index 1fd09c480..7602b550d 100644
--- a/mex/sources/k_order_perturbation/k_ord_dynare.cc
+++ b/mex/sources/k_order_perturbation/k_ord_dynare.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008-2016 Dynare Team
+ * Copyright (C) 2008-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/k_order_perturbation/k_ord_dynare.hh b/mex/sources/k_order_perturbation/k_ord_dynare.hh
index f24cf668e..b5d942f6b 100644
--- a/mex/sources/k_order_perturbation/k_ord_dynare.hh
+++ b/mex/sources/k_order_perturbation/k_ord_dynare.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008-2016 Dynare Team
+ * Copyright (C) 2008-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/k_order_perturbation/k_order_perturbation.cc b/mex/sources/k_order_perturbation/k_order_perturbation.cc
index 4be824595..1159b810b 100644
--- a/mex/sources/k_order_perturbation/k_order_perturbation.cc
+++ b/mex/sources/k_order_perturbation/k_order_perturbation.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008-2014 Dynare Team
+ * Copyright (C) 2008-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/kronecker/sparse_hessian_times_B_kronecker_C.cc b/mex/sources/kronecker/sparse_hessian_times_B_kronecker_C.cc
index be71632d6..492a18ff6 100644
--- a/mex/sources/kronecker/sparse_hessian_times_B_kronecker_C.cc
+++ b/mex/sources/kronecker/sparse_hessian_times_B_kronecker_C.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2011 Dynare Team
+ * Copyright (C) 2007-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/linsolve/linsolve.cc b/mex/sources/linsolve/linsolve.cc
index daec3999f..c8e55eecb 100644
--- a/mex/sources/linsolve/linsolve.cc
+++ b/mex/sources/linsolve/linsolve.cc
@@ -10,7 +10,7 @@
*/
/*
- * Copyright (C) 2012-2013 Dynare Team
+ * Copyright (C) 2012-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc b/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
index 19cc5739e..3b45d193a 100644
--- a/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
+++ b/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/mjdgges/mjdgges.c b/mex/sources/mjdgges/mjdgges.c
index c73165d35..5086dc8d4 100644
--- a/mex/sources/mjdgges/mjdgges.c
+++ b/mex/sources/mjdgges/mjdgges.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006-2016 Dynare Team
+ * Copyright (C) 2006-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/ms-sbvar/mex_top_level.cc b/mex/sources/ms-sbvar/mex_top_level.cc
index 4ca78b408..9d982f327 100644
--- a/mex/sources/ms-sbvar/mex_top_level.cc
+++ b/mex/sources/ms-sbvar/mex_top_level.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2011 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/ms-sbvar/mex_write_to_matlab.c b/mex/sources/ms-sbvar/mex_write_to_matlab.c
index 8f7a5c580..1d14ffe3e 100644
--- a/mex/sources/ms-sbvar/mex_write_to_matlab.c
+++ b/mex/sources/ms-sbvar/mex_write_to_matlab.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 Dynare Team
+ * Copyright (C) 2011-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/ms-sbvar/modify_for_mex.h b/mex/sources/ms-sbvar/modify_for_mex.h
index 1048d64cb..0689df90f 100644
--- a/mex/sources/ms-sbvar/modify_for_mex.h
+++ b/mex/sources/ms-sbvar/modify_for_mex.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2013 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/qzcomplex/qzcomplex.cc b/mex/sources/qzcomplex/qzcomplex.cc
index 92cf7f7ae..74773fcdc 100644
--- a/mex/sources/qzcomplex/qzcomplex.cc
+++ b/mex/sources/qzcomplex/qzcomplex.cc
@@ -6,7 +6,7 @@
*/
/*
- * Copyright (C) 2010-2016 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/mex/sources/sobol/gaussian.hh b/mex/sources/sobol/gaussian.hh
index 8692814f4..6dd00ca22 100644
--- a/mex/sources/sobol/gaussian.hh
+++ b/mex/sources/sobol/gaussian.hh
@@ -2,7 +2,7 @@
**
** Pseudo code of the algorithm is given at http://home.online.no/~pjacklam/notes/invnorm
**
-** Copyright (C) 2010-2016 Dynare Team
+** Copyright (C) 2010-2017 Dynare Team
**
** This file is part of Dynare.
**
diff --git a/mex/sources/sobol/initialize_v_array.hh b/mex/sources/sobol/initialize_v_array.hh
index c276701f4..ad172d7a5 100644
--- a/mex/sources/sobol/initialize_v_array.hh
+++ b/mex/sources/sobol/initialize_v_array.hh
@@ -7,7 +7,7 @@ initialize_v_array(int dim_max, int log_max, T **v)
** Original files downloaded from http://people.sc.fsu.edu/~burkardt/cpp_src/sobol/ (version 17-Feb-2009 09:46)
**
** Copyright (C) 2009 John Burkardt
-** Copyright (C) 2010-2011 Dynare Team
+** Copyright (C) 2010-2017 Dynare Team
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License as published by
@@ -21,8 +21,6 @@ initialize_v_array(int dim_max, int log_max, T **v)
**
** You should have received a copy of the GNU Lesser General Public License
** along with this program. If not, see .
-**
-** AUTHOR(S): stephane DOT adjemian AT univ DASH lemans DOT fr
*/
{
#include "initialize_v_array.inc"
diff --git a/mex/sources/sobol/qmc_sequence.cc b/mex/sources/sobol/qmc_sequence.cc
index 76d2e0d16..e99d80594 100644
--- a/mex/sources/sobol/qmc_sequence.cc
+++ b/mex/sources/sobol/qmc_sequence.cc
@@ -1,7 +1,7 @@
/*
** Computes Quasi Monte-Carlo sequence.
**
-** Copyright (C) 2010-2014 Dynare Team
+** Copyright (C) 2010-2017 Dynare Team
**
** This file is part of Dynare (can be used outside Dynare).
**
@@ -17,8 +17,6 @@
**
** You should have received a copy of the GNU General Public License
** along with Dynare. If not, see .
-**
-** AUTHOR(S): stephane DOT adjemian AT univ DASH lemans DOT fr
**/
#include
diff --git a/mex/sources/sobol/sobol.hh b/mex/sources/sobol/sobol.hh
index 37c589412..8926daca9 100644
--- a/mex/sources/sobol/sobol.hh
+++ b/mex/sources/sobol/sobol.hh
@@ -3,7 +3,7 @@
** Original files downloaded from http://people.sc.fsu.edu/~burkardt/cpp_src/sobol/ (version 17-Feb-2009 09:46)
**
** Copyright (C) 2009 John Burkardt
-** Copyright (C) 2010-2011 Dynare Team
+** Copyright (C) 2010-2017 Dynare Team
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License as published by
@@ -17,8 +17,6 @@
**
** You should have received a copy of the GNU Lesser General Public License
** along with this program. If not, see .
-**
-** AUTHOR(S): stephane DOT adjemian AT univ DASH lemans DOT fr
*/
#include
diff --git a/preprocessor/CodeInterpreter.hh b/preprocessor/CodeInterpreter.hh
index 7be9a0566..8939950fc 100644
--- a/preprocessor/CodeInterpreter.hh
+++ b/preprocessor/CodeInterpreter.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007-2016 Dynare Team
+ * Copyright (C) 2007-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/ConfigFile.cc b/preprocessor/ConfigFile.cc
index 36a1faa7d..64d899e13 100644
--- a/preprocessor/ConfigFile.cc
+++ b/preprocessor/ConfigFile.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2016 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/ConfigFile.hh b/preprocessor/ConfigFile.hh
index e054922f7..e3d9143eb 100644
--- a/preprocessor/ConfigFile.hh
+++ b/preprocessor/ConfigFile.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2016 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/DataTree.hh b/preprocessor/DataTree.hh
index d7a1de5d8..5efb57bdb 100644
--- a/preprocessor/DataTree.hh
+++ b/preprocessor/DataTree.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2016 Dynare Team
+ * Copyright (C) 2003-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/DynareMain.cc b/preprocessor/DynareMain.cc
index 51fa77672..887cf2818 100644
--- a/preprocessor/DynareMain.cc
+++ b/preprocessor/DynareMain.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2016 Dynare Team
+ * Copyright (C) 2003-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/ExtendedPreprocessorTypes.hh b/preprocessor/ExtendedPreprocessorTypes.hh
index 4c6869a38..bf57a19f5 100644
--- a/preprocessor/ExtendedPreprocessorTypes.hh
+++ b/preprocessor/ExtendedPreprocessorTypes.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014-2015 Dynare Team
+ * Copyright (C) 2014-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/MinimumFeedbackSet.cc b/preprocessor/MinimumFeedbackSet.cc
index a84a994ab..d91391c58 100644
--- a/preprocessor/MinimumFeedbackSet.cc
+++ b/preprocessor/MinimumFeedbackSet.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2012 Dynare Team
+ * Copyright (C) 2009-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/Shocks.cc b/preprocessor/Shocks.cc
index 0aa7fdfa6..6f95a7a9a 100644
--- a/preprocessor/Shocks.cc
+++ b/preprocessor/Shocks.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2016 Dynare Team
+ * Copyright (C) 2003-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/Shocks.hh b/preprocessor/Shocks.hh
index 1c7abb913..0710e6630 100644
--- a/preprocessor/Shocks.hh
+++ b/preprocessor/Shocks.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2016 Dynare Team
+ * Copyright (C) 2003-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/SteadyStateModel.cc b/preprocessor/SteadyStateModel.cc
index 5fc9dc1de..0a6e1536d 100644
--- a/preprocessor/SteadyStateModel.cc
+++ b/preprocessor/SteadyStateModel.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2016 Dynare Team
+ * Copyright (C) 2010-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/SymbolList.hh b/preprocessor/SymbolList.hh
index 950ae0a60..c06194848 100644
--- a/preprocessor/SymbolList.hh
+++ b/preprocessor/SymbolList.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2014 Dynare Team
+ * Copyright (C) 2003-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/SymbolTable.cc b/preprocessor/SymbolTable.cc
index 7af7ffed4..3d43e184d 100644
--- a/preprocessor/SymbolTable.cc
+++ b/preprocessor/SymbolTable.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2016 Dynare Team
+ * Copyright (C) 2003-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/SymbolTable.hh b/preprocessor/SymbolTable.hh
index ceb5d5359..ff633c633 100644
--- a/preprocessor/SymbolTable.hh
+++ b/preprocessor/SymbolTable.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2016 Dynare Team
+ * Copyright (C) 2003-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/WarningConsolidation.cc b/preprocessor/WarningConsolidation.cc
index f026dea8f..f1c24f4ad 100644
--- a/preprocessor/WarningConsolidation.cc
+++ b/preprocessor/WarningConsolidation.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012-2013 Dynare Team
+ * Copyright (C) 2012-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/WarningConsolidation.hh b/preprocessor/WarningConsolidation.hh
index 582af0f43..ece47995e 100644
--- a/preprocessor/WarningConsolidation.hh
+++ b/preprocessor/WarningConsolidation.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012-2013 Dynare Team
+ * Copyright (C) 2012-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/macro/MacroDriver.cc b/preprocessor/macro/MacroDriver.cc
index c5193cc6b..71d53b9cb 100644
--- a/preprocessor/macro/MacroDriver.cc
+++ b/preprocessor/macro/MacroDriver.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008-2015 Dynare Team
+ * Copyright (C) 2008-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/macro/MacroDriver.hh b/preprocessor/macro/MacroDriver.hh
index 7b828b028..773a99dcf 100644
--- a/preprocessor/macro/MacroDriver.hh
+++ b/preprocessor/macro/MacroDriver.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008-2015 Dynare Team
+ * Copyright (C) 2008-2017 Dynare Team
*
* This file is part of Dynare.
*
diff --git a/preprocessor/macro/MacroValue.hh b/preprocessor/macro/MacroValue.hh
index 64f0cdef7..1097841d9 100644
--- a/preprocessor/macro/MacroValue.hh
+++ b/preprocessor/macro/MacroValue.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008-2016 Dynare Team
+ * Copyright (C) 2008-2017 Dynare Team
*
* This file is part of Dynare.
*