function [fhdr, chdr] = get_csdm_hdr(fname);
0001 function [fhdr, chdr] = get_csdm_hdr(fname) 0002 %function [fhdr, chdr] = get_csdm_hdr(fname); 0003 % 0004 % 0005 0006 csdm_fid = fopen(fname,'r'); 0007 if csdm_fid == -1 0008 error(['Trouble opening file -- ' fname]) 0009 end 0010 [fhdr,chdr]=rd_csdm_hdr_v(csdm_fid); 0011 fclose(csdm_fid);