Changeset 371 for trunk/src/uvmat.m
- Timestamp:
- Jan 14, 2012, 1:44:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r368 r371 509 509 510 510 %% detect root name, nomenclature and indices in the input file name: 511 [tild,SubDir,tild,i1,i2,j1,j2,FileExt]=fileparts_uvmat(fileinput); 511 [RootPath,SubDir,tild,i1,i2,j1,j2]=fileparts_uvmat(fileinput); 512 [tild,FileName,FileExt]=fileparts(fileinput); 512 513 % detect the file type, get the movie object if relevant, and look for the corresponding file series: 513 [Root Path,RootFile,i1_series,i2_series,j1_series,j2_series,NomType,FileType,MovieObject]=find_file_series(fileinput);514 [RootFile,i1_series,i2_series,j1_series,j2_series,NomType,FileType,MovieObject]=find_file_series(fullfile(RootPath,SubDir),[FileName FileExt]); 514 515 if strcmp(NomType,'*')% movies will be opened at the first frame 515 516 i1=1; … … 608 609 % read the current input file name: 609 610 [RootPath,SubDir,RootFile,FileIndices,FileExt]=read_file_boxes(handles); 610 fileinput=[fullfile(RootPath,SubDir,RootFile) FileIndices FileExt];611 %fileinput=[fullfile(RootPath,SubDir,RootFile) FileIndices FileExt]; 611 612 % detect the file type, get the movie object if relevant, and look for the corresponding file series: 612 [ RootPath,RootFile,i1_series,i2_series,j1_series,j2_series,tild,FileType,MovieObject]=find_file_series(fileinput);613 [tild,i1_series,i2_series,j1_series,j2_series,tild,FileType,MovieObject]=find_file_series(fullfile(RootPath,SubDir),[RootFile FileIndices FileExt]); 613 614 % initiate the input file series and refresh the current field view: 614 615 update_rootinfo(handles,i1_series,i2_series,j1_series,j2_series,FileType,MovieObject); … … 1099 1100 % update_rootinfo_1(hObject,eventdata,handles) 1100 1101 [RootPath,SubDir,RootFile,FileIndices,FileExt]=read_file_boxes_1(handles); 1101 fileinput=[fullfile(RootPath,SubDir,RootFile) FileIndices FileExt];1102 %fileinput=[fullfile(RootPath,SubDir,RootFile) FileIndices FileExt]; 1102 1103 % detect the file type, get the movie object if relevant, and look for the corresponding file series: 1103 [tild, tild,i1_series,i2_series,j1_series,j2_series,tild,FileType,MovieObject]=find_file_series(fileinput);1104 [tild,i1_series,i2_series,j1_series,j2_series,tild,FileType,MovieObject]=find_file_series(fullfile(RootPath,SubDir),[RootFile FileIndices FileExt]); 1104 1105 % initiate the input file series and refresh the current field view: 1105 1106 update_rootinfo(handles,i1_series,i2_series,j1_series,j2_series,FileType,MovieObject,2);
Note: See TracChangeset
for help on using the changeset viewer.