- Timestamp:
- Dec 13, 2011, 2:30:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/fileparts_uvmat.m
r327 r333 170 170 end 171 171 172 172 if ~isempty(regexp(NomType,'-|ab|AB')) 173 r=regexp(RootPath,'\<(?<newrootpath>.+)(\\|/)(?<subdir>[^\\^/]+)(\\|/)*\>','names'); 174 if ~isempty(r) 175 SubDir=r.subdir; 176 RootPath=r.newrootpath; 177 end 178 end 173 179 174 180 … … 260 266 for FileName=FileName_list 261 267 % [RootPath,RootFile,i1,i2,str_a,str_b,Ext,NomType,SubDir]=name2display(FileName{1}); 262 [~,RootFile _bis,i1_bis,i2_bis,j1_bis,j2_bis,~,NomType_bis,SubDir_bis]=...268 [~,RootFile,i1,i2,j1,j2,~,NomType,SubDir]=... 263 269 fileparts_uvmat(FileName{1}); 264 270 fprintf([... 265 271 'File name : ' FileName{1} '\n'... 266 ' NomType : ' NomType _bis'\n'...267 ' RootFile : ' RootFile _bis'\n'...268 ' i1 / i2 : ' num2str(i1 _bis) ' / ' num2str(i2_bis) '\n'...269 ' j1 / j2 : ' num2str(j1 _bis) ' / ' num2str(j2_bis) '\n'...272 ' NomType : ' NomType '\n'... 273 ' RootFile : ' RootFile '\n'... 274 ' i1 / i2 : ' num2str(i1) ' / ' num2str(i2) '\n'... 275 ' j1 / j2 : ' num2str(j1) ' / ' num2str(j2) '\n'... 270 276 ]); 271 277 end
Note: See TracChangeset
for help on using the changeset viewer.