%% Convert Duration Array to Character Array
% Create a duration array.

D = hours(23:25) + minutes(8) + seconds(1.2345)

%
% Convert D to a character array.

C = char(D)

% C is a character array that represents one duration value per row.
%
% Specify the format of the duration values represented by C.

C = char(D,'hh:mm')

% Copyright 2015 The MathWorks, Inc.