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
Dynare
reporting
Commits
97e5bf83
Commit
97e5bf83
authored
Oct 21, 2015
by
Houtan Bastani
Browse files
add showOutput option to canned irf macro
parent
4083eeee
Changes
1
Hide whitespace changes
Inline
Side-by-side
macros/make_report_irfs.m
View file @
97e5bf83
function
make_report_irfs
(
M
,
oo
,
ticks_every
)
function
make_report_irfs
(
M
,
oo
,
ticks_every
,
showOutput
)
% Builds canned IRF report
%
% INPUTS
% M [struct]
% oo [struct]
% ticks_every [int] number of spaces between ticks. Default 5.
% showOutput [bool] showOutput the report. Default true
%
% OUTPUTS
% None
...
...
@@ -54,11 +55,15 @@ function make_report_irfs(M, oo, ticks_every)
if
nargin
<
3
ticks_every
=
5
;
end
if
nargin
<
4
showOutput
=
true
;
else
assert
(
islogical
(
showOutput
));
end
n6
=
1
;
justAddedPage
=
0
;
calcxticks
=
false
;
r
=
report
(
'filename'
,
[
M
.
fname
'_canned_irf_report.tex'
]);
r
=
report
(
'filename'
,
[
M
.
fname
'_canned_irf_report.tex'
]
,
'showOutput'
,
showOutput
);
for
i
=
1
:
length
(
M
.
exo_names
)
newexo
=
1
;
for
j
=
1
:
length
(
M
.
endo_names
)
...
...
Write
Preview
Markdown
is supported
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