From 0aa103b1f55ea8ca3e2efa4cfe36c853fb2a2adc Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer <jpfeifer@gmx.de> Date: Fri, 17 Sep 2021 10:40:47 +0200 Subject: [PATCH] model_info.m: improve output display (cherry picked from commit 725fa79bbc1bb4d21186a0c8f61f0fe5fa9a8f9b) --- matlab/model_info.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/matlab/model_info.m b/matlab/model_info.m index 2349843f55..653482b607 100644 --- a/matlab/model_info.m +++ b/matlab/model_info.m @@ -31,11 +31,11 @@ else incidence = 0; end if static_ - fprintf(' Informations about %s (static model)\n',M_.fname); + fprintf(' Information about %s (static model)\n',M_.fname); block_structre_str = 'block_structure_stat'; nb_leadlag = 1; else - fprintf(' Informations about %s (dynamic model)\n',M_.fname); + fprintf(' Information about %s (dynamic model)\n',M_.fname); block_structre_str = 'block_structure'; nb_leadlag = 3; end @@ -69,7 +69,7 @@ if isfield(M_,block_structre_str) fprintf('===============================================================================================================\n'); fprintf('\n'); if static_ - fprintf('%-30s %s','the variable','is used in equations Contemporaneously'); + fprintf('%-30s %s','the variable','is used in the following equations contemporaneously'); if(size(block_structure.incidence.sparse_IM,1)>0) IM=sortrows(block_structure.incidence.sparse_IM,2); else @@ -88,9 +88,9 @@ if isfield(M_,block_structre_str) else 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 Contemporaneously'); + fprintf('%-30s %s','the variable','is used in the following equations Contemporaneously'); 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); + fprintf('%-30s %s %d','the variable','is used in the following equations with lag ',M_.maximum_endo_lag+1-k); else fprintf('%-30s %s %d','the variable','is used in equations with lead ',k-(M_.maximum_endo_lag+1)); end -- GitLab