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: ac1d8469-bf42-47a9-8791-bf33cf982152
parent fec9486f
function dyntable(title,headers,labels,values,label_width,val_width, ...
% Copyright (C) 2002 Dynare Team
% Copyright (C) 2002-2009 Dynare Team
% This file is part of Dynare.
......@@ -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
% along with Dynare. If not, see <>.
global options_
if options_.noprint
label_width = max(size(deblank(strvcat(headers(1,:),labels)),2)+2, ...
val_width = max(size(deblank(headers(2:end,:)),2)+2,val_width);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment