www.gusucode.com > private工具箱matlab源码程序 > private/fix_windows_paths_for_make_file.m

    function paths = fix_windows_paths_for_make_file(paths)
% PATHS = FIX_WINDOWS_PATHS_FOR_MAKE_FILE(PATHS)

%   Copyright 2014 The MathWorks, Inc.
%     

    % G1090310: Before escaping "$" character in path name, make sure that we do not have UNC paths.
    paths = RTW.transformPaths(paths,'pathType','full','ignoreErrors',true);
    
    % G831502: Escape "$" character in path name for MSVC & LCC makefiles.
    paths = regexprep(paths, '\$', '\$\$');
end