Ignore:
Timestamp:
Nov 9, 2010, 5:27:00 PM (13 years ago)
Author:
gostiaux
Message:

gedit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/name2display.m

    r19 r120  
    9696    str_a=last_str; %put appendix a,b,c....
    9797    indcur=indcur-1;
    98     nom_type='#A';   
    9998    num=1;count=0; % extract the numerical appendix
    10099    while num==1;
     
    106105        end
    107106    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   
    108113    if count~=0             
    109114            field_count=RootFile(indcur+1:indcur+count);% set the selected field number
    110115    end   
    111     indcur=indcur-1;
     116%     indcur=indcur-1;
    112117elseif strcmp(filelit(end-2:end),'-_-_')%new  nomenclature appendix num1-num2_num_a-num_b
    113118    field_count=num0;
Note: See TracChangeset for help on using the changeset viewer.