Changeset 371 for trunk/src/num2stra.m


Ignore:
Timestamp:
Jan 14, 2012, 1:44:13 PM (9 years ago)
Author:
sommeria
Message:

various bug fixes with file indexing. mode displacement from a fixed image introduced.
PIV stereo suppressed (todo: introduce in the GUI series).
find_file_series cleaned, with a change in the function arguments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/num2stra.m

    r332 r371  
    2525%         end
    2626    case 2
    27         if isequal(nom_type(end),'a')||isequal(nom_type(end),'b')
     27        if ~isempty(nom_type) && (isequal(nom_type(end),'a')||isequal(nom_type(end),'b'))
    2828            str=char(96+num);
    29         elseif isequal(nom_type(end),'A')|isequal(nom_type(end),'B')
     29        elseif ~isempty(nom_type) && (isequal(nom_type(end),'A')||isequal(nom_type(end),'B'))
    3030            str=char(64+num);
    31 %         elseif isequal(nom_type,'series_i')|isequal(nom_type,'netc_series')...
    32 %                 |isequal(nom_type,'ima_num')| isequal(nom_type,'avi')| isequal(nom_type,'none')...
    33 %                 isequal(nom_type,'_i')|isequal(nom_type,'_i1-i2')
    34 %             str='';
    3531        else
    3632            str=num2str(num);
Note: See TracChangeset for help on using the changeset viewer.