Exporting to MATLAB

Echoview supports the export of data to MATLAB format files. Data types include:

Notes:

Dataflow window

  1. On the Dataflow window, right-click on an acoustic variable and select Export, To Matlab Format...
  2. Specify a ping range to export, click Export.
  3. Choose a folder and enter a filename.
  4. Click Save.

Echogram

  1. Display an Sv, TS or angular position echogram.
  2. On the Echogram menu, point to Export and then click * Values to Matlab...
  3. Specify a ping range to export, click Export.
  4. Choose a folder and enter a filename.
  5. Click Save.

Selection/region on an echogram

Export from a selection or region on an echogram is supported for single beam data.

  1. Display an echogram.
  2. Make a selection using the vertical band tool vertical selection tool or select a region.
  3. On the Shortcut menu (right-click), select to Export Selection/Export region, and then click * Values to Matlab...
  4. Specify a ping range to export, click Export.
  5. Choose a folder and enter a filename.
  6. Click Save.

MATLAB file format

Echoview provides data similar to the equivalent data export in *.csv format.

Echoview exports the data for a ping as a row in MATLAB format. Prior to Echoview 7, each ping data was a column.

MATLAB scripts that are written for ping data in columns will require the data in Echoview 7 MATLAB export files to be transposed. The following Octave code snippet to transposes Echoview export data:

octave:164> Var=[]; for x=1:length(PingNames), Var=[Var,eval(PingNames{x})]; clear(PingNames{x}); end
octave:165> Data_values=transpose([Var.Data_values])

Note: Under MATLAB/Octave PingNames(x) must be written PingNames{x} since PingNames is cells.

See also

About exporting data
Export file formats