Changeset 120 for trunk/src/name2display.m
- Timestamp:
- Nov 9, 2010, 5:27:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/name2display.m
r19 r120 96 96 str_a=last_str; %put appendix a,b,c.... 97 97 indcur=indcur-1; 98 nom_type='#A';99 98 num=1;count=0; % extract the numerical appendix 100 99 while num==1; … … 106 105 end 107 106 end 107 if strcmp('0',RootFile(indcur+1)); % select the non-numerical characters 108 nom_type=['%0' num2str(length(RootFile(indcur+1:end-1))) 'dA']; 109 else 110 nom_type='#A'; 111 end 112 108 113 if count~=0 109 114 field_count=RootFile(indcur+1:indcur+count);% set the selected field number 110 115 end 111 indcur=indcur-1;116 % indcur=indcur-1; 112 117 elseif strcmp(filelit(end-2:end),'-_-_')%new nomenclature appendix num1-num2_num_a-num_b 113 118 field_count=num0;
Note: See TracChangeset
for help on using the changeset viewer.