This directory contains some code that assists in accessing the CTF shared memory buffer from within Matlab. You should compile this code on your CTF MEG acquisition computer and start it prior to starting Acq. The AcqBuffer command line application maintains the shared memory. It keeps as many data records in memory, but alsways ensures that there are enough empty data records for Acq to write new data towards. This code is to be used in conjunction with the read_header, read_data and read_event function in the FieldTrip fileio module and specifically for the "ctf_shm" file format. For more information please visit http://www.ru.nl/fcdonders/fieldtrip. This software is free but copyrighted software, distributed under the terms of the GNU General Public Licence as published by the Free Software Foundation (either version 2, or at your option any later version). See the file COPYING for more details. Copyright (C) 2005-2008, F.C. Donders Centre for Cognitive Neuroimaging, Nijmegen, The Netherlands