Back to the main page.

Bug 92 - problem reading *.mnc file

Reported 2010-06-09 14:30:00 +0200
Modified 2011-01-05 12:01:02 +0100
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Robert Oostenveld
Depends on:
See also:

Robert Oostenveld - 2010-06-09 14:30:43 +0200

On 9 Jun 2010, at 14:02, wrote: Ik denk dat er een bug zit in ft_read_mri. De foutmelding bij line 72: the SPM2 or SPM5 toolbox is required to read *.mnc files. hastoolbox ('spm2') is 0 terwijl SPM 2 in mijn paden staan. Het probleem ligt denk ik niet aan de mri die ik in wil lezen (ik lees de template mri in).

Robert Oostenveld - 2010-06-09 14:49:33 +0200

detection of the spm version failed in case fieldtrip/external/spm2 was added to the path. It turned out that the Contents.m file is parsed to determine the version number. That file was missing from fieldtrip/external/spm2. I added the file to svn For current users (i.e. people with an open matlab session) it is neccessary to do >> clear global SPM_VER on the MATLAB command line. If that fails, restart matlab to ensure that all paths are set up correctly again.

Robert Oostenveld - 2011-01-05 11:56:57 +0100

selected a long list of resolved bugs from roboos and changed the status into "RESOLVED"

Robert Oostenveld - 2011-01-05 12:01:02 +0100

selected all old bugs from roboos with status RESOLVED and changed it into CLOSED