Dear Mat,
Reset your Matlab path to default, then only add the SPM top folder to
it, re-run SPM and try converting the vhdr file again.
Vladimir
On Mon, May 28, 2012 at 11:36 AM, Mathew Hunter
<[log in to unmask]> wrote:
> Hi Dr. Litvak,
>
> I am having a problem converting .vhdr/.vmrk/.eeg files from
> BrainVisionAnalyzer in to SPM8. I get the following error,
>
> Warning: Could not obtain electrode locations
> automatically.
> In spm_eeg_convert at 416
> In spm_eeg_convert_ui at 89
> Warning: Could not obtain fiducials automatically.
> In spm_eeg_convert at 423
> In spm_eeg_convert_ui at 89
> checkmeeg: no channel type, assigning default
> checkmeeg: no units, assigning default
> checkmeeg: transform type missing, assigning default
> checkmeeg: data type is missing or incorrect, assigning default
> Reference to non-existent field 'pnt'.
>
> Error in spm_eeg_prep (line 269)
> sens.pnt = sens.pnt(sel2, :);
>
> Error in spm_eeg_convert (line 464)
> D = spm_eeg_prep(S1);
>
> Error in spm_eeg_convert_ui (line 89)
> D = spm_eeg_convert(S);
>
> Error while evaluating uicontrol Callback
>
> ********
> I am able to load everything fine in EEGLab (v11.0.1.1b) in which I also
> tried to save and load the .set files that are created, but received the
> following error,
>
> Warning: could be Yokogawa system
> In fileio\private\warning_once at 81
> In fileio\private\ft_senstype at 280
> In fileio\private\channelposition at 46
> In fileio\private\ft_datatype_sens at 107
> In ft_read_header at 1673
> In spm_eeg_convert at 72
> In spm_eeg_convert_ui at 89
> Error using ft_convert_units (line 123)
> cannot determine geometrical units
>
> Error in spm_eeg_convert (line 407)
> D.sensors.eeg = ft_convert_units(hdr.elec, 'mm');
>
> Error in spm_eeg_convert_ui (line 89)
> D = spm_eeg_convert(S);
>
> Error while evaluating uicontrol Callback
>
> Any suggestions?
>
> Thanks,
> Mat Hunter
>
|