Dear Bernhard,
You are right. That dll only works with Spike5 but not with later
versions. What you can do in Spike 6 is export your data to mat file.
This mat file is supported by fileio. There were some particular
options you should use. One of them is including the time axis and the
other is I think including each channel as separate variable. If you
can't make it work, let me know and I'll look in my Spike 6 and try to
recall.
Best,
Vladimir
On Mon, Apr 12, 2010 at 5:33 PM, Bernhard Spitzer
<[log in to unmask]> wrote:
> Dear SPM people, dear Vladimir,
>
> trying to convert LFP data (Cambridge Electronic Design, *.smr) to SPM,
> I get the error message below. I have the Neuroshare Matlab Import Filter
> installed and the mexprog.dll is in the path.
> I am afraid there's no 64bit support for the NS Import Filter. Any advice
> for a convenient way to get the .smr data to SPM (or Fieldtrip), on
> my 64bit system ?
>
> best,
> Bernhard
>
>
> SPM8: spm_eeg_convert_ui (v3059) 18:22:19 - 12/04/2010
> ========================================================================
> ??? Undefined function or method 'mexprog' for input arguments of type 'double'.
>
> Error in ==> ns_SetLibrary at 39
> [ns_RESULT] = mexprog(18, filename);
> Error in ==> read_ced_son at 115
> ns_RESULT = ns_SetLibrary(which('nsCedSon.dll'));
>
> Error in ==> read_header at 675
> orig = read_ced_son(filename,'readevents','no','readdata','no');
>
> Error in ==> fileio_read_header at 11
> [varargout{1:nargout}] = funhandle(varargin{:});
>
> Error in ==> spm_eeg_convert at 72
> hdr = fileio_read_header(S.dataset, 'fallback', 'biosig', 'headerformat', S.inputformat);
>
> Error in ==> spm_eeg_convert_ui at 89
> D = spm_eeg_convert(S);
>
> ??? Error while evaluating uicontrol Callback
>
|