Next: Macro-processing language, Previous: Markov-switching SBVAR, Up: The Model file [Contents][Index]

### 4.22 Displaying and saving results

Dynare has comments to plot the results of a simulation and to save the results.

Command: rplot VARIABLE_NAME…;

  Plots the simulated path of one or several variables, as stored in `oo_.endo_simul` by either `perfect_foresight_solver`, `simul` (see Deterministic simulation) or `stoch_simul` with option `periods` (see Computing the stochastic solution). The variables are plotted in levels.

Command: dynatype (FILENAME) [VARIABLE_NAME…];

  This command prints the listed variables in a text file named FILENAME. If no VARIABLE_NAME is listed, all endogenous variables are printed.

Command: dynasave (FILENAME) [VARIABLE_NAME…];

  This command saves the listed variables in a binary file named FILENAME. If no VARIABLE_NAME are listed, all endogenous variables are saved.

  In MATLAB or Octave, variables saved with the `dynasave` command can be retrieved by the command:

      load -mat FILENAME

Next: Macro-processing language, Previous: Markov-switching SBVAR, Up: The Model file [Contents][Index]