<div dir="ltr"><div dir="auto">Hello dear FieldTrip users, <div dir="auto"><br></div><div dir="auto">I have a problem in source modeling. </div><div dir="auto">I get my Suma processed anatomical files </div><div dir="auto"><div style="font-family:sans-serif;font-size:9.856px" dir="auto"><br><br></div><div style="font-family:sans-serif" dir="auto"><div>>file_LH = fullfile(SubjectDir,'std.10.lh<wbr>.white.gii) ;</div><div>>file_RH= fullfile(SubjectDir,'std.10.rh<wbr>.white.gii');</div></div><div style="font-family:sans-serif" dir="auto"><br></div><div style="font-family:sans-serif" dir="auto"><div>file_LH = C:\Users\Christoph\Documents\<wbr>MATLAB\forHilola\data\vp01-fs\<wbr>bem\SUMA\std.10.lh.white.gii</div><div dir="auto"><font size="4">(same for Right hemisphere) </font></div><div dir="auto" style="font-size:9.856px"> </div><div dir="auto"><font size="4">And then I simply want to read headshape</font></div><div dir="auto" style="font-size:9.856px"><br></div></div><div style="font-family:sans-serif;font-size:9.856px" dir="auto"><br></div><div style="font-family:sans-serif" dir="auto"> >sourcespace_S_SUMA = ft_read_headshape({file_LH file_RH}, 'format', 'gifti');<br></div><div style="font-family:sans-serif;font-size:9.856px" dir="auto"><br></div><div style="font-family:sans-serif" dir="auto"><font size="4">But it gives this error message</font></div><div style="font-family:sans-serif" dir="auto">error message: </div><div style="font-family:sans-serif" dir="auto"><div>Error using read_gifti_file (line 17)</div><div>[GIFTI] Loading of XML file C:\Users\Christoph\Documents\MATLAB\forHilola\data\vp01-fs\bem\SUMA\std.10.lh.white.gii</div><div>failed.</div><div><br></div><div>Error in gifti (line 68)</div><div> this = read_gifti_file(varargin{1},gi<wbr>ftistruct);</div><div><br></div><div>Error in ft_read_headshape (line 289)</div><div> g = gifti(filename);</div><div><br></div><div>Error in ft_read_headshape (line 93)</div><div> tmp = ft_read_headshape(filename{i}, varargin{:});</div><div dir="auto" style="font-size:9.856px"><br></div><div dir="auto" style="font-size:9.856px"><br></div><div dir="auto"><font size="4">I checked the directory and everything, so should not be a problem. Any help would be appreciated! </font></div><div dir="auto"><font size="4">Thank you very much! </font></div><div dir="auto"><font size="4"><br>Hilola Hakimova, </font></div><div dir="auto"><font size="4">Tuebingen MEG center </font></div></div></div></div>
</div>