Skip to content

Commit

Permalink
omit warning with 'rotation' beein twice in search path
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfHielscher committed Mar 24, 2024
1 parent 75fae64 commit 7ed5883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions startup_mtex.m
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function do_install(local_path)
% set MTEX search path
function setMTEXPath(local_path)

exclPath = {'data','makeDoc','templates','nfft','ODF_Components_old','kernelFunctions'};
exclPath = {'data','makeDoc','templates','nfft','ODF_Components_old','kernelFunctions','deprecated'};

if ~MATLABverLessThan('8.4'), exclPath = [exclPath,'8.4']; end
if ~MATLABverLessThan('8.5'), exclPath = [exclPath,'8.5']; end
Expand Down Expand Up @@ -380,7 +380,7 @@ function addpath_recurse(strStartDir, caStrsIgnoreDirs, strXorIntAddpathMode, bl
%Loop through the directory list and recursively call this function.
for intDirIndex = 1 : length(saSubDirs)
strThisDirName = saSubDirs(intDirIndex).name;
blnIgnoreDir = any(strcmpi(strThisDirName, { 'private', 'CVS', '.', '..', caStrsIgnoreDirs{:} }));
blnIgnoreDir = any(strcmpi(strThisDirName, [ {'private'}, {'CVS'}, {'.'}, {'..'}, caStrsIgnoreDirs(:)' ]));
blnDirBegins = any(strncmp(strThisDirName, {'@', '.','+'}, 1));
if ~(blnIgnoreDir || blnDirBegins)
strThisStartDir = sprintf('%s%s%s', strStartDir, strFileSep, strThisDirName);
Expand Down

0 comments on commit 7ed5883

Please sign in to comment.