THE AUDITORY MODELING TOOLBOX

Applies to version: 1.4.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
  • .csv output as that from tableread. This is dangerous as it's actual output
    depends on the Matlab version. Consider storing as mat file.
  • others output is the absolute filename

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