gusucode.com > bigdata 工具箱 matlab源码程序 > bigdata/+matlab/+bigdata/+internal/+util/displayVerbosity.m

    function level = displayVerbosity(newLevel)
%displayVerbosity - control tall array and talltable display verbosity
%   displayVerbosity(0) means most concise
%   displayVerbosity(Inf) means most verbose (the default).

% Copyright 2015 The MathWorks, Inc.

pref = {'MATLAB_bigdata', 'tallDisplayVerbosity'};
if ~ispref(pref{:})
    addpref(pref{:}, Inf);
end
if nargout > 0
    level = getpref(pref{:});
end
if nargin > 0
    validateattributes(newLevel, {'numeric'}, {'real', 'nonnegative', 'scalar'});
    setpref(pref{:}, newLevel);
end
end