gusucode.com > target工具箱matlab源码程序 > target/extensions/processor/tic2000/utils/getTIfile.m

    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\','');