[FieldTrip] FW: mex file cannot be found

K Jeffrey Eriksen eriksenj at ohsu.edu
Wed Feb 15 01:34:13 CET 2017


Hi again,

I followed some general advice from the Matlab site and downloaded "dependency walker" and ran it on (ft_getopt.mexw64). I was informed that I am missing libmx.dll and libmex.dll, per the screenshot below.

[cid:image001.png at 01D286E0.2CDEA230]

I am unable to proceed, please advise.
-Jeff

From: K Jeffrey Eriksen
Sent: Tuesday, February 14, 2017 4:15 PM
To: 'fieldtrip at science.ru.nl'
Subject: mex file cannot be found

Hi,

I just installed FieldTrip r10442 on Win7-64bit, Matlab 2016b. I picked this version because it matches the megconnectome 3.0. I am using EEG, not MEG data, and simply want to use some of the FieldTrip functions.

I installed per the FT recommendations regarding addpath and ft_defaults.

When I try to use ft_read_mri, it tries to call ft_getopt, and fails as follows:

**********************************************************************************
path_data = 'J:\Projects\HCP\HCP_A01';
cd (path_data)
filename = 'T1w_acpc_dc_restore.nii'
[mri]=ft_read_mri(filename);

Invalid MEX-file
'J:\Projects\HCP_MEG\fieldtrip-r10442\fileio\private\ft_getopt.mexw64':
The specified procedure could not be found..

Error in ft_read_mri (line 79)
mriformat = ft_getopt(varargin, 'dataformat');

Error in try_ft_read_mri (line 7)
[mri]=ft_read_mri(filename);
*********************************************************************************

I searched for this error but did not come up with anything specific on general Matlab help. I can see that the ft_getopt.mexw64 file is in the correct folder, so do not understand why Matlab cannot find it.

-Jeff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170215/036eeb61/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 136652 bytes
Desc: image001.png
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170215/036eeb61/attachment-0001.png>


More information about the fieldtrip mailing list