<html>
<body>
<br>
Thank you for your prompt response!<br>
Now for the sanity check...these commands don't seem to work
either.<br><br>
Here is what I get:<br>
-------------------------<br><br>
>> hdr = read_fcdc_header('filename.res4');<br>
>> data - read_fcdc_data(hdr,2,100,1);<br>
??? Error using  ==> sprintf<br>
Function is not defined for 'struct' inputs.<br><br>
Error in ==> fieldtrip-0.9.5/private/filetype at 275<br>
 warning(sprintf('could not determine filetype of %s',
filename));<br><br>
Error in ==> read_fcdc_data at 79<br>
if filetype(datafile, 'ctf_ds')<br><br>
-------------------------<br><br>
I tried this on raw continuous and raw epoched data. Both returned the
same error.<br>
Does that call for a routine change?<br><br>
-vv<br><br>
<br><br>
At 08:26 AM 2/10/2005, J.M. Schoffelen wrote:<br>
<blockquote type=cite class=cite cite="">--> <br><br>
<font face="arial" size=2 color="#000080">Dear Virginie,<br>
</font><br>
<font face="arial" size=2 color="#000080"> <br>
</font><br>
<font face="arial" size=2 color="#000080">Welcome to the
fieldtrip-community!<br>
</font><br>
<font face="arial" size=2 color="#000080"> <br>
</font><br>
<font face="arial" size=2 color="#000080">A first sanity check to test
whether fieldtrip is capable of handling your data might be the
following:<br>
</font><br>
<font face="arial" size=2 color="#000080"> <br>
</font><br>
<font face="arial" size=2 color="#000080">hdr =
read_fcdc_header(‘*.res4’); (with * being the name of your file.<br>
</font><br>
<font face="arial" size=2 color="#000080">data =
read_fcdc_data(hdr,2,100,1); (which should read in sample 2 until 100 of
the first channel in your data)<br>
</font><br>
<font face="arial" size=2 color="#000080"> <br>
</font><br>
<font face="arial" size=2 color="#000080">If this really does not work,
that might mean that the CTF-software you use to record your data is not
compatible with the routines <br>
</font><br>
<font face="arial" size=2 color="#000080">we are using to read in the
data.<br>
</font><br>
<font face="arial" size=2 color="#000080"> <br>
</font><br>
<font face="arial" size=2 color="#000080">Yours,<br>
</font><br>
<font face="arial" size=2 color="#000080"> <br>
</font><br>
<font face="arial" size=2 color="#000080">Jan-Mathijs<br>
</font><br>
<font face="arial" size=2 color="#000080"> <br>
</font><br>
<font face="arial" size=2 color="#000080"> <br>
</font><br>
<font face="arial" size=2 color="#000080"> <br>
</font><br>
<font face="arial" size=2 color="#000080"> <br>
</font><br>
<font face="arial" size=2 color="#000080"> <br>
<hr>
<div align="center"></font></div>
<font face="tahoma" size=2><b>From:</b> FieldTrip discussion list
[<a href="mailto:FIELDTRIP@NIC.SURFNET.NL" eudora="autourl">mailto:FIELDTRIP@NIC.SURFNET.NL</a>]
<b>On Behalf Of </b>Virginie.van.Wassenhove@MRSC.UCSF.EDU<br>
<b>Sent:</b> Thursday, February 10, 2005 4:37 PM<br>
<b>To:</b> FIELDTRIP@NIC.SURFNET.NL<br>
<b>Subject:</b> [FIELDTRIP]<br>
</font><br>
<font face="Times New Roman, Times"> <br>
</font><br>
<font face="Times New Roman, Times">Hello Fieldtripers!<br><br>
I am new to Fieldtrip, and I am experiencing some issues trying to read
the CTF dataset into matlab. <br>
I tried the command lines that were suggested in previous threads without
success.<br><br>
I would welcome any help/suggestions...<br>
Thank you! <br><br>
- Virginie<br><br>
<br>
</font><font face="Eras Medium ITC" size=2 color="#0000FF">Virginie.van.Wassenhove@radiology.ucsf.edu
<br>
</font><br>
<font face="Eras Medium ITC" size=2 color="#0000FF">vvw@mrsc.ucsf.edu
<br>
</font><br>
<font face="Eras Medium ITC" size=2 color="#0000FF"><a href="http://itsa.ucsf.edu/~vvanwass/welcome.htm" eudora="autourl">http://itsa.ucsf.edu/~vvanwass/welcome.htm</a></font>
<br><br>
<font face="Eras Medium ITC" size=2 color="#808080"><i>---------------------------------------------------------------------------- <br>
</i></font><br>
<font face="Eras Medium ITC" size=2><i>Virginie van Wassenhove, Ph.D. - Post-Doctoral Scholar <br>
</i></font><br>
<font face="Eras Medium ITC" size=2><i>University of California, San Francisco (UCSF) <br>
</i></font><br>
<font face="Eras Medium ITC" size=2><i>Biomagnetic Imaging Lab, Magnetic Source Imaging <br>
</i></font><br>
<font face="Eras Medium ITC" size=2><i>Department of Radiology <br>
</i></font><br>
<font face="Eras Medium ITC" size=2><i>513 Parnassus Avenue, Room 359 (S-362) Box # 0628 <br>
</i></font><br>
<font face="Eras Medium ITC" size=2><i>San Francisco, CA  94143-0628 <br>
</i></font><br>
<font face="Eras Medium ITC" size=2><i>---------------------------------------------------------------------------- <br>
</i></font><br>
<font face="Eras Medium ITC" size=2><i>Office: 415/476-0190<x-tab>    </x-tab><br>
</i></font><br>
<font face="Eras Medium ITC" size=2><i>Lab: <x-tab>   </x-tab>415/476-6888 <br>
</i></font><br>
<font face="Eras Medium ITC" size=2><i>Fax: <x-tab>   </x-tab>415/502-4302 <br>
</i></font><br>
<font face="Eras Medium ITC" size=2><i>----------------------------------------------------------------------------</font> </i></blockquote>
<x-sigsep><p></x-sigsep>

<dl>
<dd><font face="Eras Medium ITC" size=2 color="#0000FF">Virginie.van.Wassenhove@radiology.ucsf.edu
<dd>vvw@mrsc.ucsf.edu <br><br>

<dd><a href="http://itsa.ucsf.edu/~vvanwass/welcome.htm" eudora="autourl">http://itsa.ucsf.edu/~vvanwass/welcome.htm</a></font>
<dd><font face="Eras Medium ITC" size=2 color="#808080"><i>---------------------------------------------------------------------------- </font>
<dd><font face="Eras Medium ITC" size=2>Virginie van Wassenhove, Ph.D. - Post-Doctoral Scholar
<dd>University of California, San Francisco (UCSF)
<dd>Biomagnetic Imaging Lab, Magnetic Source Imaging
<dd>Department of Radiology
<dd>513 Parnassus Avenue, Room 359 (S-362) Box # 0628
<dd>San Francisco, CA  94143-0628
<dd>----------------------------------------------------------------------------
<dd>Office: 415/476-0190<x-tab>    </x-tab>
<dd>Lab: <x-tab>   </x-tab>415/476-6888
<dd>Fax: <x-tab>   </x-tab>415/502-4302
<dd>----------------------------------------------------------------------------</font>
</dl></i></body>
</html>