function  [mainPath ccsPath] = getTIfile(family,ccsbinPath)
%GETTIFILE get TI's source files

%   Copyright 2009 The MathWorks, Inc.

mainPath = getenv(['DSP',family,'_INSTALLDIR']);
if isempty(getenv(['DSP',family,'_INSTALLDIR']))
   mainPath = 'C:\tidcs\c28\DSP2802x\v100';
end
ccsPath = strrep(ccsbinPath,'\cc\bin\','');