Ignore:
Timestamp:
Mar 31, 2021, 3:32:03 PM (4 years ago)
Author:
sommeria
Message:

reading mat files added, +-fixed,OpenDAP improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uigetfile_uvmat.m

    r1093 r1095  
    5454        elseif exist(InputName,'file')
    5555            [InputDir,InputFileName,Ext]=fileparts(InputName);
    56             if isempty(InputFileName)% if InputName is already the root
     56            if isempty(InputFileName)% if InputName is alr2eady the root
    5757                InputFileName=InputDir;
    5858                if  ~isempty(strcmp (computer, {'PCWIN','PCWIN64'}))%case of Windows systems
     
    308308        FullSelectName=[DirName '/' SelectName];
    309309    end
    310 end
     310end%     end
     311% end
    311312if CheckSubDir%exist(FullSelectName,'dir')% a directory has been selected
    312313    set(hObject,'BackgroundColor',[1 1 0])% paint list in yellow to indicate action
     
    344345index_dir=find(strcmp('isdir',fieldnames(ListStruct)));
    345346check_dir=cell2mat(ListCells(index_dir,:));% =1 for directories, =0 for files
    346 % for ilist=1:numel(check_dir)
    347 %     if check_dir(ilist)
    348347ListFiles(check_dir)=regexprep(ListFiles(check_dir),'^.+','+/$0');% put '+/' in front of dir name display
    349 %     end
    350 % end
    351348if exist('filter_ext','var') && ~strcmp(filter_ext,'*') &&~strcmp(filter_ext,'uigetdir')
    352349    if strcmp(filter_ext,'image')
Note: See TracChangeset for help on using the changeset viewer.