<div dir="ltr">Hi<div><br></div><div>I am new to FieldTrip. </div><div><br></div><div>I want to acess realtime EEG data in matlab from my BrainVision recorder.</div><div>when i use </div><div><br></div><div><pre class="code" style="padding-top: 0.5em; padding-right: 0.5em; padding-bottom: 0.5em; padding-left: 0.5em; margin-top: 0px; font-size: 12px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); color: rgb(51, 51, 51); overflow-x: hidden; overflow-y: hidden; font-family: Consolas, 'Andale Mono', Menlo, Monaco, monospace; background-color: rgb(255, 255, 255); white-space: pre-wrap; width: 640px; line-height: 15px; text-align: justify; ">
hdr    = ft_read_header('buffer://localhost:51244')</pre></div><div> it gives an error</div><div><br></div><div><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><span lang="KO" style="font-size:10.0pt;font-family:"Gulim","sans-serif";mso-hansi-font-family:
Calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Gulim;mso-ansi-language:
KO">Trying to close socket 3956</span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; "><span lang="KO" style="font-size:10.0pt;font-family:"Gulim","sans-serif";mso-hansi-font-family:
Calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Gulim;mso-ansi-language:
KO"><font class="Apple-style-span" color="#ff0000">??? Error using ==> buffer</font></span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; "><span lang="KO" style="font-size:10.0pt;font-family:"Gulim","sans-serif";mso-hansi-font-family:
Calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Gulim;mso-ansi-language:
KO"><font class="Apple-style-span" color="#ff0000">ERROR: tcp connection to buffer failed.</font></span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; "><span lang="KO" style="font-size:10.0pt;font-family:"Gulim","sans-serif";mso-hansi-font-family:
Calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Gulim;mso-ansi-language:
KO"><font class="Apple-style-span" color="#ff0000"> </font></span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; "><span lang="KO" style="font-size:10.0pt;font-family:"Gulim","sans-serif";mso-hansi-font-family:
Calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Gulim;mso-ansi-language:
KO"><font class="Apple-style-span" color="#ff0000">Error in ==> ft_read_header at 815</font></span></p>

<p class="MsoNormal" style="margin-bottom: 0.0001pt; "><span lang="KO" style="font-size:10.0pt;font-family:"Gulim","sans-serif";mso-hansi-font-family:
Calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Gulim;mso-ansi-language:
KO"><font class="Apple-style-span" color="#ff0000">      orig = buffer('get_hdr', [],
host, port);</font></span></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" color="#ff0000" face="Gulim, sans-serif"><br></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; ">
<font class="Apple-style-span" color="#ff0000" face="Gulim, sans-serif"><br></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" color="#ff0000" face="Gulim, sans-serif"><br></font></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" face="Gulim, sans-serif">Kindly Guide me what will i have to do</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" face="Gulim, sans-serif"><br>
</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font class="Apple-style-span" face="Gulim, sans-serif"><br></font></p></div></div>