Hi, I am trying to use ft_sensorrealign to align my Yokogawa data. i am getting this error:<br><br>sens2 = ft_sensorrealign(cfg, sens)<br>using the fiducials instead of the sensor positions<br>Warning: could be Yokogawa system <br>
> In forward/private/warning_once at 75<br> In ft_senstype at 280<br> In utilities/private/channelposition at 46<br> In ft_datatype_sens at 107<br> In ft_sensorrealign at 235<br>converting units from 'mm' to 'cm'<br>
??? Subscripted assignment between dissimilar structures.<br><br>Error in ==> ft_sensorrealign at 236<br> tmp(i) = ft_convert_units(template(i), elec.unit); % ensure that the units are consistent with the<br> electrodes<br>
<br>I have attached variable template and elec. <br><br>Secondly, I presume also that I can only use 3 of the 5 fiducial markers? as line 395 has length(cfg.fiducial)~=3. I don't think this is causing the above issue though. Thanks, Paul<br clear="all">
<br>-- <br>Paul F Sowman<br>NHMRC Postdoctoral Training Fellow <br>Macquarie Centre for Cognitive Science (MACCS)<br>MACQUARIE UNIVERSITY NSW 2109<br>