Hi, I found that I can't load the spmeeg file created with latest SPM12 (v.7219) from previous version of SPM12 (v.6225). This seems due to change in Fieldtrip's data naming convention (see below).
Although this is not a pure SPM issue, I want to report it here so that other users won't be puzzled like me when they face the same problem.
bests,
Misun
1.---------------SPM error message--------------
Reference to non-existent field 'labelorg'.
Error in ft_datatype_sens (line 386)
sens.balance.G1BR.chantypeorg = repmat({'unknown'}, size(sens.balance.G1BR.labelorg));
Error in ft_datatype_sens (line 146)
sens = ft_datatype_sens(sens, 'version', '2011v2');
Error in checkmeeg (line 371)
this.sensors.meg = ft_datatype_sens(this.sensors.meg, 'version', 'upcoming', 'amplitude', 'T', 'distance', 'mm');
Error in meeg (line 139)
D = class(checkmeeg(D), 'meeg');
Error in spm_eeg_load (line 73)
D = meeg(D);
2.---------------Fieldtrip script-----------------------------
function [sens] = ft_datatype_sens(sens, varargin)
% Revision history:
% (2016/latest) The chantype and chanunit have become required fields.
% Original channel details are specified with the suffix "old" rather than "org".
% All numeric values are represented in double precision.
% It is possible to convert the amplitude and distance units (e.g. from T to fT and
% from m to mm) and it is possible to express planar and axial gradiometer channels
% either in units of amplitude or in units of amplitude/distance (i.e. proper
% gradient).
-----------------------------------------------------
|