% Edit this file and run in matlab from the load/ subdirectory adcppath rdipath sonpath %choose one to match your instrument type instname = '__instname__'; intclass = __instclass__; chdir ../config __cruiseid___cfg % sets up various directories __cruiseid___proc % sets up parameters for processing __cruiseid___disp %sets up parameters for display chdir ../load feval(sprintf('params = %s_params', instname)) params.showverbose = 0; params.pingedit = 0; r = []; %% must link file in here first pingpath = fullpath(rawdir,instname); files = dir(fullfile(pingpath, '*.raw')); for ifile = 1:length(files) file = fullfile(pingpath, files(ifile).name) %could add: 'use_for_heading', 'gyro',... r = load_raw(instclass, file, params,... 'finish', 0, ... 'leftover', r,... 'verbose', 0); end