diff --git a/matlab/dynare_version.m.in b/matlab/dynare_version.m.in
index 6a139161377daf6416583273c47a4ec5bc399e0b..f2c502ea052cc0bc173bc3ecd09d5b5946903b61 100644
--- a/matlab/dynare_version.m.in
+++ b/matlab/dynare_version.m.in
@@ -1,6 +1,6 @@
-function v = dynare_version
-% function v = dynare_version
-%	This command returns Dynare version number
+function v = dynare_version()
+
+% This command returns Dynare version number.
 %
 % INPUTS
 %   none
@@ -11,7 +11,7 @@ function v = dynare_version
 % SPECIAL REQUIREMENTS
 %   none
 
-% Copyright (C) 2008-2009 Dynare Team
+% Copyright (C) 2008-2017 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -28,4 +28,4 @@ function v = dynare_version
 % You should have received a copy of the GNU General Public License
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
-    v = '@PACKAGE_VERSION@';
+v = '@PACKAGE_VERSION@';