diff --git a/doc/dynare.texi b/doc/dynare.texi
index 5cb55d7ea3e2180f7c3894d77dbd5a4f41a0ced4..5fe42d9d2d56304e770c366cc49ff615b3eeed09 100644
--- a/doc/dynare.texi
+++ b/doc/dynare.texi
@@ -7069,6 +7069,15 @@ function for more information.
 
 @end deffn
 
+@anchor{dynare_version}
+@deffn Command dynare_version ;
+
+Output the version of Dynare that is currently being used (@i{i.e.}
+the one that is highest on the Matlab/Octave path).
+
+@end deffn
+
+
 @node The Configuration File
 @chapter The Configuration File