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
f268513f
Commit
f268513f
authored
Jun 02, 2010
by
Ferhat Mihoubi
Committed by
Sébastien Villemot
Sep 17, 2010
Browse files
correction of model_info's printouts
parent
dbc9795a
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/model_info.m
View file @
f268513f
...
...
@@ -44,7 +44,7 @@ if(isfield(M_,'block_structure'))
fprintf
(
'\n'
);
for
k
=
1
:
M_
.
maximum_endo_lag
+
M_
.
maximum_endo_lead
+
1
if
(
k
==
M_
.
maximum_endo_lag
+
1
)
fprintf
(
'%-30s %s'
,
'the variable'
,
'is used in equations ontemporaneously'
);
fprintf
(
'%-30s %s'
,
'the variable'
,
'is used in equations
C
ontemporaneously'
);
elseif
(
k
<
M_
.
maximum_endo_lag
+
1
)
fprintf
(
'%-30s %s %d'
,
'the variable'
,
'is used in equations with lag '
,
M_
.
maximum_endo_lag
+
1
-
k
);
else
...
...
@@ -56,7 +56,7 @@ if(isfield(M_,'block_structure'))
IM
=
[];
end
;
size_IM
=
size
(
IM
,
1
);
last
=
0
;
last
=
99999999
;
for
i
=
1
:
size_IM
if
(
last
~=
IM
(
i
,
2
))
fprintf
(
'\n%-30s'
,
M_
.
endo_names
(
IM
(
i
,
2
),:));
...
...
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