Written by William Collins, May 2021, derived from a script written by Gilad Jacobson, May 2016.
Prerequisites: Install the matcfs64c library developed by J.G. Colebatch from the CED website. Extract the contents of the ZIP file into a folder and add that folder to the MatLab path.
To run, simply type cfs2mat.Convert() into the Matlab prompt and select the files that you want to convert.
The output data from each file is saved as a series of .mat files, with the same name and location as the source file. Each .mat file contains a single structure called 'CfsFile' which contains the date and time of creation, any file comment and a list of file and frame (Data Section) variables. Finally, there is a list of channels, each of which holds the channel name, units, scaling and the data itself, divided into frames.
Registered in England: 00972132
Registered office:
VAT: GB 214 2617 96
Producer registration number: WEE/BD0050TZ
For our US customers, we can provide tax form W-8BEN, that identifies us as a UK company.
(Int.+44) (0)1223 420186
1 800 345 7794