[FieldTrip] Invalid MEX-file_combineClusters.mexw64

Fabio Masina fabio.masina83 at gmail.com
Thu Mar 26 08:47:54 CET 2020


Hi Jan-Mathij,

interestingly, after removing the .mex files altogether (i.e.
combineClusters.mexa64, combineClusters.mexw32, and combineClusters.mexw64)
I could run the ft_freqstatistics function. So it apparently works.

Thanks for your suggestions,

Fabio

Il giorno mer 25 mar 2020 alle ore 09:35 Schoffelen, J.M. (Jan Mathijs) <
jan.schoffelen at donders.ru.nl> ha scritto:

> Hi Fabio,
>
> I rarely use Matlab on windows myself, so I don’t have a solution handy.
> As Robert suggested earlier, the error is likely caused by the compiled mex
> file being incompatible with your computer.
> Typing the error in google led me to the documentation below, perhaps you
> can take it from there.
>
>
> https://www.mathworks.com/matlabcentral/answers/92040-why-do-i-receive-a-specified-module-could-not-be-found-error-while-running-a-mex-file-created-from
>
> Alternatively, you could try and recompile the mex-files on your computer,
> which in my experience on PCs requires some fooling around. As a last
> resort, you could remove the .mexw64 file altogether, and rely in the
> slower *.m file.
>
>
> Good luck,
>
> Jan-Mathijs
>
>
>
> On 24 Mar 2020, at 11:36, Fabio Masina <fabio.masina83 at gmail.com> wrote:
>
> Dear Community,
>
> my name is Fabio and I'm not a Fieldtrip expert. So my apologies if my
> question will seem trivial.
>
> I'm facing a problem when I try to run the function ft_freqstatistics.
> Actually, I'm trying to call the ft_freqstatistics function from Brainstorm
> and the error shows:
> Error: [process_ft_freqstatistics]  Test > FieldTrip: ft_freqstatistics
> ** Line 101: Invalid MEX-file
> 'C:\Users\fabio\Documents\Research\Analyses\EEG\fieldtrip-20200320\fieldtrip-20200320\private\combineClusters.mexw64':
> Impossibile trovare il modulo specificato.
>
> Typing in the Matlab command window the command "combineClusters", again
> the error message shows:
> Invalid MEX-file
>
> 'C:\Users\fabio\Documents\Research\Analyses\EEG\fieldtrip-20200320\fieldtrip-20200320\private\combineClusters.mexw64':
> Impossibile trovare il modulo specificato.
>
> These are my current versions of Fieldtrip, Matlab, and OS:
> fieldtrip-20200320, Matlab R2019b, Windows 10 v1903 (OS Builds 18362.720).
>
> Following a suggestion, I tried to check if some dll file missing on my
> computer. Thus, I used the Dependency Walker utility
> http://www.dependencywalker.com. However, I'm not able to correctly use
> this utility, especially I cannot interpret the output.
>
> Have you some suggestions? Any help would be appreciated.
>
> Best,
>
> Fabio
>
> --
>
> *Fabio Masina, PhD *
>
> IRCCS, Ospedale San Camillo
> Via Alberoni 70, 30126
> Venice, Italy
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>


-- 

*Fabio Masina, PhD*

IRCCS, Ospedale San Camillo
Via Alberoni 70, 30126
Venice, Italy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200326/5e21f443/attachment.htm>


More information about the fieldtrip mailing list