Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
aab5b2a4
Commit
aab5b2a4
authored
Dec 31, 2010
by
Ferhat Mihoubi
Browse files
- Manages the temporary terms when the model is evaluated block by block
parent
12930343
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/block_bytecode_mfs_steadystate.m
View file @
aab5b2a4
function
[
r
,
g1
]
=
block_bytecode_mfs_steadystate
(
y
,
b
,
y_all
)
function
[
r
,
g1
,
temporary_terms
]
=
block_bytecode_mfs_steadystate
(
y
,
b
,
y_all
,
temporary_terms
)
% Wrapper around the *_static.m file, for use with dynare_solve,
% when block_mfs option is given to steady.
...
...
@@ -23,4 +23,4 @@ global M_ oo_
indx
=
M_
.
blocksMFS
{
b
};
y_all
(
indx
)
=
y
;
x
=
[
oo_
.
exo_steady_state
;
oo_
.
exo_det_steady_state
];
eval
([
'[chk, r, g1] = bytecode( y_all, x, M_.params, 1, y_all,
''
evaluate
''
,
''
static
''
,
''
block = '
int2str
(
b
)
'
''
);'
]);
\ No newline at end of file
eval
([
'[chk, r, g1] = bytecode( y_all, x, M_.params, 1, y_all,
''
evaluate
''
,
''
static
''
,
''
block = '
int2str
(
b
)
'
''
,
''
global_temporary_terms
''
);'
]);
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment