%% Remove Trailing Blanks from Cell Array
% Remove trailing blanks from all the character vectors in a cell array and display them.

A = {'MATLAB    ','SIMULINK    ';
     'Toolboxes    ','MathWorks    '}

%

B = deblank(A)

% Copyright 2012 The MathWorks, Inc.