Changeset 399 in ETALON


Ignore:
Timestamp:
Mar 23, 2016, 4:00:29 PM (8 years ago)
Author:
malovyts
Message:

Fixed error, when trying to load non-existing file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SPESO/ana2015/load_analysis_data.m

    r382 r399  
    6363dayData.nShots=[];
    6464dayData.nFullShots=[];
     65
     66if strcmp(filelist(1:3),'ls:')
     67        display(['Nothing to match "' lscmd '"']);
     68        return;
     69end
     70
    6571for iline=2:length(newLines)
    6672            line=filelist(newLines(iline-1)+1:newLines(iline)-1);
Note: See TracChangeset for help on using the changeset viewer.