<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear fieldtrip experts:
<div class=""><br class="">
<div class=""><b class="">I was trying to run this tutorial <a href="https://www.fieldtriptoolbox.org/example/ft_realtime_hilbert/" class="">https://www.fieldtriptoolbox.org/example/ft_realtime_hilbert/</a>. Although I can’t do it properly because after changing
the buffer pointing to my data and saving in 2 different scripts 'ft_realtime_hilbert()' and 'ft_realtime_baseline()’. I have found this error. </b></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">Insert the subject name.>>>>>James</div>
<div class="">Undefined function or variable 'ft_read_header'.</div>
<div class=""><br class="">
</div>
<div class="">Error in realtime_baseline (line 56)</div>
<div class="">hdr = ft_read_header(cfg.headerfile, 'cache', true);</div>
<div class=""><br class="">
</div>
<div class="">Error in ft_realtime_hilbert (line 34)</div>
<div class="">realtime_baseline(); %This it will launch the baseline script</div>
<div class=""> </div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">>> ft_read_header()</div>
<div class="">Undefined function or variable 'ft_read_header’.</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><b class="">While this commands ft_defaults and ft_preprocessing() output:</b></div>
<div class=""><br class="">
</div>
<div class="">ft_defaults</div>
<div class="">>> ft_preprocessing()</div>
<div class=""> ft_preprocessing reads MEG and/or EEG data according to user-specified trials</div>
<div class=""> and applies several user-specified preprocessing steps to the signals.</div>
<div class=""> </div>
<div class=""> Use as</div>
<div class=""> [data] = ft_preprocessing(cfg)</div>
<div class=""><br class="">
</div>
<div class="">.</div>
<div class="">.</div>
<div class="">.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""> </div>
<div class=""> See also ft_definetrial, ft_redefinetrial, ft_appenddata, ft_appendspike</div>
<div class=""><br class="">
</div>
<div class="">Error using ft_preamble_init (line 42)</div>
<div class="">This function requires one or multiple input arguments, please refer to the documentation</div>
<div class="">above</div>
<div class=""><br class="">
</div>
<div class="">Error in ft_preamble (line 83)</div>
<div class="">evalin('caller', full_cmd);</div>
<div class=""><br class="">
</div>
<div class="">Error in ft_preprocessing (line 186)</div>
<div class="">ft_preamble init</div>
<div class=""> </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><b class="">Probably my problems go way beyond this issue because I am sending the data via OSC or also I can use LSL. But I don’t know how I could use it with fieldtrip toolbox. Nonetheless the first issue would be recognising ft_realtime_…</b></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Rene Andrade. </div>
</div>
</body>
</html>