Skip to content
Snippets Groups Projects
Commit 2006e1f9 authored by sebastien's avatar sebastien
Browse files

Don't display any table if option "noprint" is used (thanks to Gianni Lombardo for pointing this)

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2863 ac1d8469-bf42-47a9-8791-bf33cf982152
parent fec9486f
No related branches found
No related tags found
No related merge requests found
function dyntable(title,headers,labels,values,label_width,val_width, ... function dyntable(title,headers,labels,values,label_width,val_width, ...
val_precis) val_precis)
% Copyright (C) 2002 Dynare Team % Copyright (C) 2002-2009 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
% %
...@@ -18,6 +18,12 @@ function dyntable(title,headers,labels,values,label_width,val_width, ... ...@@ -18,6 +18,12 @@ function dyntable(title,headers,labels,values,label_width,val_width, ...
% You should have received a copy of the GNU General Public License % You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>. % along with Dynare. If not, see <http://www.gnu.org/licenses/>.
global options_
if options_.noprint
return
end
label_width = max(size(deblank(strvcat(headers(1,:),labels)),2)+2, ... label_width = max(size(deblank(strvcat(headers(1,:),labels)),2)+2, ...
label_width); label_width);
val_width = max(size(deblank(headers(2:end,:)),2)+2,val_width); val_width = max(size(deblank(headers(2:end,:)),2)+2,val_width);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment