function out = deblank(s)
%DEBLANK Cell array based deblank.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.6 $

error(nargchk(1,1,nargin));

if ~iscell(s),
  error('S must be a cell array.');
end

out=cell(size(s));
for i=prod(size(s)):-1:1,
  out{i} = deblank(s{i});
end
