Skip to content

ImportABF

  ImportABF imports Molecular Devices (Axon Instruments) ABF files
  The file created is a sigTOOL compatible version 6 MAT-file with the kcl
  extension

  Example:
  OUTPUTFILE=ImportABF(FILENAME)
  OUTPUTFILE=ImportABF(FILENAME, TARGETPATH)

  FILENAME is the path and name of the ABF file to import.

  The kcl file generated will be placed in TARGETPATH if supplied. If not,
  the file will be created in the directory taken from FILENAME.


  ImportABF calls three mex files ABFGetADCChannel, ABFGetDACChannel  and
  ABFGetFileInfo that in turn call the manufacturer's DLL to load the data.
  ImportABF is therefore a Windows only function.

  Toolboxes required: None

  The ABF filing system is copyright Molecular Devices

  Author: Malcolm Lidierth 03/07
  Copyright © The Author & King's College London 2007-

  Acknowledgements:
  Revisions:
  16.08.08  Recompile mex files with Borland C++ for back compat to R2006a.
            Sledge-hammer termination of units string for Borland.
  22.10.08  Rare memory overflows from ABFGetADCChannel fixed
  09.01.09  Correct out-by-one sample error or pre-time calculation
  20.12.09  Now retrieve entire ABF file header