<div dir="ltr">  Dear sir/madam<div><br></div><div>This is student who is currently studying in university of Groningen, working on connectivity analysis of EEG data,</div><div><br></div><div>I have already preprocessed my EEG files and working on connectivity using this tutorial:</div><div><a href="https://www.fieldtriptoolbox.org/tutorial/networkanalysis_eeg/" target="_blank">https://www.fieldtriptoolbox.org/tutorial/networkanalysis_eeg/</a><br></div><div><br></div><div>And my modified code for my eeg data was the following:</div><div><br></div><div><div><b>load('02010015_ICAed.mat')<br></b></div><div><b>cfg=[];</b></div><div><b>cfg.channel=data_clean.label;</b></div><div><b>data=ft_selectdata(cfg,data_clean);</b></div><div><b>data= rmfield(data,'grad');</b></div><div><b>elec        = ft_convert_units(elec,'mm');<br>data.elec   = elec;</b><br></div><div><br></div></div><div>But when I use ft_selectdata, this happens to data=ft_selectdata(cfg,data_clean) :</div><div><br></div><div><font color="#ff0000">Insufficient number of outputs from right hand side of equal sign to satisfy assignment.<br><br>Error in ft_version (line 154)<br>       ftver = tmp.Version;<br><br>Error in ft_preamble_init (line 50)<br>[FjmoT6aA_ft_ver, FjmoT6aA_ft_path] = ft_version;<br><br>Error in ft_preamble (line 83)<br>evalin('caller', full_cmd);<br><br>Error in ft_selectdata (line 80)<br>ft_preamble init</font><br></div><div><br></div><div>Do you know why this happens? I checked my path correctly and I really don't know why this still happens, </div><div><br></div><div>It would be great to know if you could inform me why this happens,</div><div><br></div><div>Looking forward to your answer!</div><div><br></div><div>Sincerely,</div><div class="gmail-yj6qo"></div><div class="gmail-adL"><br></div></div>