Changeset 1022 for trunk/src/fullfile_uvmat.m
- Timestamp:
- Dec 11, 2017, 1:15:03 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/fullfile_uvmat.m
r977 r1022 93 93 94 94 %% look for NomType with pairs (separator '-' or terminasion ab or AB 95 if strcmp(NomType,'level')% organisation with a sub-folder for the files of each index i96 filename=fullfile(RootPath,SubDir,['level' num2str(j1)],[RootFile num2str(i1) FileExt]);97 else95 % if strcmp(NomType,'level')% organisation with a sub-folder for the files of each index i 96 % filename=fullfile(RootPath,SubDir,['level' num2str(j1)],[RootFile num2str(i1) FileExt]); 97 % else 98 98 if ~isempty(regexp(NomType,'^_\d')) 99 99 sep1='_'; … … 136 136 end 137 137 end 138 if isempty(regexp(RootPath,'^http://')) 138 139 filename=fullfile(RootPath,SubDir,RootFile); 140 else 141 filename=[RootPath '/' SubDir '/' RootFile]; 142 end 139 143 filename=[filename sep1 i1_str sep2 i2_str sep3 j1_str sep4 j2_str]; 140 144 filename=[regexprep(filename,'_$','') FileExt];%suppress possible '_' at the end of the string and add the extension 141 end145 % end 142 146 143 147 function test
Note: See TracChangeset
for help on using the changeset viewer.