<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello there, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My name is Kaitlin O’Reilley, and I am an undergraduate researcher at the University of Illinois at Urbana-Champaign. I am a new user to FieldTrip, applying it to analyze LFP data from an animal model. The data has already been preprocessed
 and sampled at 250 Hz. I am attempting to prepare the data with the necessary cfg for future analysis, expecting to get a new data variable outputted. I am using ft_definetrial, and my current configuration structure is as follows:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">cfg = <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">  struct with fields:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">          trialdef: [1×1 struct]<o:p></o:p></p>
<p class="MsoNormal">          trialfun: 'ft_trialfun_general'<o:p></o:p></p>
<p class="MsoNormal">representation: 'numeric'<o:p></o:p></p>
<p class="MsoNormal">           dataset: 'reworkfirst.mat'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My current issue, appears to be a missing function “printor” in the FieldTrip toolbox. This is the error message I have:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Undefined function 'printor' for input arguments of type 'cell'.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Error in ft_checkdata (line 530)<o:p></o:p></p>
<p class="MsoNormal">    typestr = printor(dtype, true);<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This function “printor” is never defined in ft_checkdata and I also cannot find its location in another folder of the toolbox with “which printor”. I’ve also referenced some of the MATLAB help pages and this has not yielded much success.
 I know ft_checkdata is nested into other functions called by ft_definetrial<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My goal is to accomplish this primary step for future analysis. While it seems like ft_definetrial would be a reasonable option to load the data, I would appreciate to hear if there are other functions that are more effective. Below is
 a Google Drive link to the dataset I am analyzing. Any suggestions would be great.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://drive.google.com/file/d/1i7DO73RkqxiCqhNZn0SwZ3FKcDGyhU9t/view?usp=sharing">https://drive.google.com/file/d/1i7DO73RkqxiCqhNZn0SwZ3FKcDGyhU9t/view?usp=sharing</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best,<o:p></o:p></p>
<p class="MsoNormal">Kaitlin O’Reilley<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>