%

% Copyright 2017 The MathWorks, Inc.
function tseries = setUnit(signal, tseries)
    if strlength(signal.Unit) > 0
        tseries.DataInfo.Units = Simulink.SimulationData.Unit(signal.Unit);
    end
end
