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

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.7 $

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
