THE AUDITORY MODELING TOOLBOX

Applies to version: 1.3.0

View the code

Go to function

AMT_LOAD - Load auxiliary data of a model

Usage

amt_load(MODEL, DATA);

Description

amt_load(model, data) loads the auxiliary data from the file data. The data will loaded from the directory model located in the local auxdata directory given by amt_auxdatapath.

If the file is not in the local auxdata directory, it will be downloaded from the web address given by amt_auxdataurl.

For sofa files, data must be passed in full, i.e. with the '.sofa' extension.

The following file types are supported:

  • .wav output will be as that from audioread
  • .mat output as that as from load
  • .sofa output as that from SOFAload
  • others output is the absolute filename

amt_load(model, data, variable) loads just a particular variable from the file.