Home > matlab > block_bytecode_mfs_steadystate.m

block_bytecode_mfs_steadystate

PURPOSE ^

Wrapper around the *_static.m file, for use with dynare_solve,

SYNOPSIS ^

function [r, g1] = block_bytecode_mfs_steadystate(y, b, y_all, exo, params, M)

DESCRIPTION ^

 Wrapper around the *_static.m file, for use with dynare_solve,
 when block_mfs option is given to steady.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [r, g1] = block_bytecode_mfs_steadystate(y, b, y_all, exo, params, M)
0002 % Wrapper around the *_static.m file, for use with dynare_solve,
0003 % when block_mfs option is given to steady.
0004 
0005 % Copyright (C) 2009-2011 Dynare Team
0006 %
0007 % This file is part of Dynare.
0008 %
0009 % Dynare is free software: you can redistribute it and/or modify
0010 % it under the terms of the GNU General Public License as published by
0011 % the Free Software Foundation, either version 3 of the License, or
0012 % (at your option) any later version.
0013 %
0014 % Dynare is distributed in the hope that it will be useful,
0015 % but WITHOUT ANY WARRANTY; without even the implied warranty of
0016 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0017 % GNU General Public License for more details.
0018 %
0019 % You should have received a copy of the GNU General Public License
0020 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
0021 
0022 indx = M.blocksMFS{b};
0023 y_all(indx) = y;
0024 [chk, r, g1] = bytecode( y_all, exo, params, y_all, 1, y_all, 'evaluate', 'static', ['block = ' int2str(b) ]);

Generated on Mon 21-May-2012 02:42:43 by m2html © 2005