%% Name of tscollection
% Create a tscollection object from two timeseries objects and set the Name property.

ts1 = timeseries(rand(5,1),'Name','ts1');
ts2 = timeseries(rand(5,1),'Name','ts2');
tsc = tscollection({ts1,ts2});
tscprop = set(tsc,'Name','newname')

% Copyright 2012 The MathWorks, Inc.