From aa610f9f8e50e2c8f7ea154ed9eee1d1bd39fdd1 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Mon, 6 Jan 2020 13:15:36 +0100
Subject: [PATCH] Expand documentation of dynasave

Closes https://git.dynare.org/Dynare/dynare/issues/1691
---
 doc/manual/source/the-model-file.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst
index dedafd797f..a4fb81ec3b 100644
--- a/doc/manual/source/the-model-file.rst
+++ b/doc/manual/source/the-model-file.rst
@@ -10425,20 +10425,20 @@ Dynare has comments to plot the results of a simulation and to save the results.
 
 .. command:: dynatype (FILENAME) [VARIABLE_NAME...];
 
-    |br| This command prints the listed variables in a text file named
-    FILENAME. If no VARIABLE_NAME is listed, all endogenous variables
+    |br| This command prints the listed endogenous or exogenous variables in a text file named
+    FILENAME, where FILENAME is a quoted string. If no VARIABLE_NAME is listed, all endogenous variables
     are printed.
 
 .. command:: dynasave (FILENAME) [VARIABLE_NAME...];
 
-    |br| This command saves the listed variables in a binary file
-    named FILENAME. If no VARIABLE_NAME are listed, all endogenous
+    |br| This command saves the listed endogenous or exogenous variables in a binary file
+    named FILENAME, where FILENAME is a quoted string. If no VARIABLE_NAME is listed, all endogenous
     variables are saved.
 
-    In MATLAB or Octave, variables saved with the ``dynasave command``
+    In MATLAB or Octave, variables saved with the ``dynasave`` command
     can be retrieved by the command::
 
-        load -mat FILENAME
+        load(FILENAME,'-mat') 
 
 
 .. _macro-proc-lang:
-- 
GitLab