Changeset 935 for trunk/src/series/extract_rdvision.m
- Timestamp:
- Mar 28, 2016, 9:15:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/extract_rdvision.m
r932 r935 469 469 NbDti=size(timestamp,1); %default for series or burst 470 470 uid_motor_nbslice=find(t,'ImaDoc/TranslationMotor/Nbslice'); 471 if ~isempty(uid_motor_nbslice) 471 uid_nbDtk=find(t,'ImaDoc/TranslationMotor/NbDtk'); 472 if ~isempty(uid_motor_nbslice)&& ~isempty(uid_nbDtk) 472 473 uid_content=get(t,uid_motor_nbslice,'contents'); 473 474 NbSlice=str2num(get(t,uid_content,'value')); 474 475 NbDti=NbSlice-1; 475 uid_NbDti=find(t,'ImaDoc/Camera/BurstTiming/NbDti');476 uid_content=get(t,uid_NbDti,'contents');477 t=set(t,uid_content,'value',num2str(NbDti));476 uid_NbDti=find(t,'ImaDoc/Camera/BurstTiming/NbDti'); 477 uid_content=get(t,uid_NbDti,'contents'); 478 t=set(t,uid_content,'value',num2str(NbDti)); 478 479 end 479 480 … … 510 511 [success,msg] = fileattrib(newxml,'+w','g');% allow writing access for the group of users 511 512 if success==0 512 msgbox_uvmat('WARNING',{['unable to set group write access to ' newxml ':']; msg 1});%error message for directory creation513 msgbox_uvmat('WARNING',{['unable to set group write access to ' newxml ':']; msg});%error message for directory creation 513 514 end 514 515
Note: See TracChangeset
for help on using the changeset viewer.