Back to the main page.

Bug 2494 - Errors importing Yokogawa data with fieldtrip-20140303 version

Status ASSIGNED
Reported 2014-03-08 21:07:00 +0100
Modified 2015-02-11 10:43:22 +0100
Product: FieldTrip
Component: external
Version: unspecified
Hardware: Macintosh
Operating System: Mac OS
Importance: P5 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

- 2014-03-08 21:07:02 +0100

Hello, When I try to import Yokogawa data using ft_read_data(), I get a bunch of errors: >> data = ft_read_data( [path_to_data '/EmptyRoom_2Dec13_01.con'], 'chanindx', [225:232] ); Warning: adding /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader toolbox to your Matlab path Warning: P-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrSystem.p is older than M-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrSystem.m. /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrSystem.p may be obsolete and may need to be regenerated. Type "help pcode" for information about generating P-files from M-files. > In fileio/private/read_yokogawa_header_new at 53 In ft_read_header at 1756 In ft_read_data at 133 Warning: P-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrChannel.p is older than M-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrChannel.m. /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrChannel.p may be obsolete and may need to be regenerated. Type "help pcode" for information about generating P-files from M-files. > In fileio/private/read_yokogawa_header_new at 61 In ft_read_header at 1756 In ft_read_data at 133 Warning: P-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrAcqCond.p is older than M-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrAcqCond.m. /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrAcqCond.p may be obsolete and may need to be regenerated. Type "help pcode" for information about generating P-files from M-files. > In fileio/private/read_yokogawa_header_new at 64 In ft_read_header at 1756 In ft_read_data at 133 Warning: P-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrCoregist.p is older than M-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrCoregist.m. /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrCoregist.p may be obsolete and may need to be regenerated. Type "help pcode" for information about generating P-files from M-files. > In fileio/private/read_yokogawa_header_new at 117 In ft_read_header at 1756 In ft_read_data at 133 Warning: P-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrDigitize.p is older than M-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrDigitize.m. /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrDigitize.p may be obsolete and may need to be regenerated. Type "help pcode" for information about generating P-files from M-files. > In fileio/private/read_yokogawa_header_new at 118 In ft_read_header at 1756 In ft_read_data at 133 Warning: P-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrSource.p is older than M-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrSource.m. /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwHdrSource.p may be obsolete and may need to be regenerated. Type "help pcode" for information about generating P-files from M-files. > In fileio/private/read_yokogawa_header_new at 119 In ft_read_header at 1756 In ft_read_data at 133 Warning: P-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwData.p is older than M-file /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwData.m. /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwData.p may be obsolete and may need to be regenerated. Type "help pcode" for information about generating P-files from M-files. > In fileio/private/read_yokogawa_data_new at 64 In ft_read_data at 1081 Exception : Sorry, not enough memory. (data) ERROR ( getYkgwData ): Sorry, could not read data. ??? Error using ==> read_yokogawa_data_new at 94 could not read all channels Error in ==> ft_read_data at 1081 dat = read_yokogawa_data_new(filename, hdr, begsample, endsample, chanindx); After I run pcode() on all those files to create new P-files, I no longer get those errors, but I get some new ones: >> data = ft_read_data( [path_to_data '/steve_test_boxes_01.con'], 'chanindx', [225:232] ); ??? Attempt to execute SCRIPT getYkgwVersion as a function: /Volumes/Public/tools/fieldtrip-20140303/external/yokogawa_meg_reader/getYkgwVersion.p Error in ==> hasyokogawa at 87 res = getYkgwVersion(); Error in ==> ft_hastoolbox at 219 status = hasyokogawa('1.4'); Error in ==> ft_read_header at 1755 if ft_hastoolbox('yokogawa_meg_reader', 3); % stay silent if it cannot be added Error in ==> ft_read_data at 133 hdr = ft_read_header(filename, 'headerformat', headerformat); I don't get these errors when I use fieldtrip-20131101 version. (By the way, the errors described above are in MATLAB 7.10.0 (R2010a).) Best, Steve