Changeset 1070 for trunk/src/dir_uvmat.m


Ignore:
Timestamp:
Jul 11, 2019, 7:02:27 PM (5 years ago)
Author:
sommeria
Message:

browse_data improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/dir_uvmat.m

    r1061 r1070  
    2828
    2929function [ListFiles,errormsg] = dir_uvmat(DirName)
     30ListFiles=[];
    3031errormsg='';
     32if ~ischar(DirName)
     33    errormsg='the function dir_uvmat needs a character string input';
     34    return
     35end
    3136if regexp(DirName,'^http://')
    3237    % OpeNDAP case - read catalog.xml file
     
    3540    str=urlread(catalog);
    3641    catch ME
    37         ListFiles=[];
    3842        errormsg=ME.message;
    3943        return
Note: See TracChangeset for help on using the changeset viewer.