createabffile

Creates the ABF file and returns a file handle. Existing files are overwritten.

Attention: Available only with Twin Activate commercial edition.

Syntax

fid = createabffile(filename)

Inputs

filename
Filename or the path of the file to be opened.
Type: char | string

Outputs

fileID
Integer representing the file ID of filename.
fileID is specified in other functions to operate on this file.
fileID will be -1 if an error occurs opening the file.

Example

% Example createabffile
fid = createabffile('C:/test.abf')
fid = 41