From 7f0ba33d5a644acb8a7266f6fb1c2ea46f13c294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= <stepan@adjemian.eu> Date: Sun, 24 Oct 2021 19:11:52 +0200 Subject: [PATCH] Fix doc headers (missing output). --- matlab/+var_expectation/print.m | 7 ++++--- matlab/print_expectations.m | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/matlab/+var_expectation/print.m b/matlab/+var_expectation/print.m index 7970134778..d390cc87fc 100644 --- a/matlab/+var_expectation/print.m +++ b/matlab/+var_expectation/print.m @@ -15,10 +15,11 @@ function print(varexpectationmodelname, withcalibration) % - {varexpectationmodelname}-parameters.inc which contains the declaration of the parameters specific to the expectation model kind term. % - {varexpectationmodelname}-expression.inc which contains the expanded version of the expectation model kind term. % -% These routines are saved under the {modfilename}/model/varexpectationmodel subfolder, and can be -% used after in another mod file (ie included with the macro directive @#include). +% These routines are saved under the {modfilename}/model/varexpectationmodel subfolder, and can be used +% after in another mod file (ie included with the macro directive @#include). A matlab routine is also +% created for evaluating (dseries) the var-expectations. -% Copyright (C) 2018-2019 Dynare Team +% Copyright © 2018-2021 Dynare Team % % This file is part of Dynare. % diff --git a/matlab/print_expectations.m b/matlab/print_expectations.m index 099933132c..79d000c92f 100644 --- a/matlab/print_expectations.m +++ b/matlab/print_expectations.m @@ -12,7 +12,7 @@ function print_expectations(eqname, expectationmodelname, expectationmodelkind, % None % % REMARKS -% The routine creates two text files +% print_expectations creates two text files % % - {expectationmodelname}-parameters.inc which contains the declaration of the parameters specific to the expectation model kind term. % - {expectationmodelname}-expression.inc which contains the expanded version of the expectation model kind term. @@ -20,6 +20,8 @@ function print_expectations(eqname, expectationmodelname, expectationmodelkind, % These routines are saved under the {modfilename}/model/{expectationmodelkind} subfolder, and can be % used after in another mod file (ie included with the macro directive @#include). % +% print_expectations also creates a matlab routine to evaluate the expectations (returning a dseries object). +% % The variable expectationmodelkind can take two values 'var' or 'pac'. % Copyright © 2018-2021 Dynare Team -- GitLab