abfclose

Closes a file opened by createabffile(). Requires the file ID returned by createabffile as an argument.

Attention: Available only with Twin Activate commercial edition.

Syntax

R = abfclose(fid)

Inputs

fid
Integer representing the file ID.
Type: double | integer

Outputs

R
Numerical equivalent true/false.

Example

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