diff --git a/matlab/+var_expectation/print.m b/matlab/+var_expectation/print.m index 7970134778dd851eefd9ac45540602b32a76ed95..d390cc87fccc670d3a2a5cd15062a488f32bb29f 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 099933132c1c0b8f37e99edca2f66171994f8f40..79d000c92fe2b4d05c14e1e32f86fb67703c67ce 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