<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear Alexandre,<br>
<br>
I had a similar issue on OS HighSierra using MATLAB R2017a, however
with another Fieldtrip version. <br>
Eventually, I got rid of the error by installing an older version of
the toolbox. Currently, I am working with Fieldtrip - 20180402 and
ft_freqstatistics is behaving normally. <br>
<br>
Best,<br>
Martin<br>
<br>
<div class="moz-cite-prefix">Am 11.02.19 um 21:48 schrieb Alexandre
Chalard:<br>
</div>
<blockquote type="cite" cite="mid:09D9C8C6-2A43-4D14-AE18-9839DB148E7D@inserm.fr">
Dear all, <br class="">
<br class="">
My OS is OS X El capitan 10.11.6 I am on matlab R2017a, I download
the toolbox on the 31th December 2018.<br class="">
I also have the image processing toolbox.<br class="">
I have no idea where is the issue, because it perfectly works on
my PC which is on the same matlab version just the OS is
different. <br class="">
When the function run it looks like matlab is on a while loop.<br class="">
<br class="">
Any suggestion ? <br class="">
<br class="">
Thank you <br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">Début du message réexpédié :</div>
<br class="Apple-interchange-newline">
</blockquote>
<div>
<pre style="white-space: pre-wrap; font-variant-ligatures: normal; orphans: 2; widows: 2;" class="">Is this something that started happening recently? What mac os/matlab/ft version?
</pre>
<div class=""><br class="">
</div>
</div>
<pre style="white-space: pre-wrap; font-variant-ligatures: normal; orphans: 2; widows: 2;" class="">i had the same issue … first i thought i may not have the image processing toolbox installed.
</pre>
<div class=""><br class="">
</div>
<blockquote type="cite" class="">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px;" class=""><span style="font-family:
-webkit-system-font, Helvetica Neue, Helvetica,
sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">De: </b></span><span style="font-family:
-webkit-system-font, Helvetica Neue, Helvetica,
sans-serif;" class="">Alexandre Chalard <<a href="mailto:alexandre.chalard@inserm.fr" class="" moz-do-not-send="true">alexandre.chalard@inserm.fr</a>><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px;" class=""><span style="font-family:
-webkit-system-font, Helvetica Neue, Helvetica,
sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Objet: </b></span><span style="font-family:
-webkit-system-font, Helvetica Neue, Helvetica,
sans-serif;" class=""><b class="">ft_freqstatistics not
working on mac</b><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px;" class=""><span style="font-family:
-webkit-system-font, Helvetica Neue, Helvetica,
sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Date: </b></span><span style="font-family:
-webkit-system-font, Helvetica Neue, Helvetica,
sans-serif;" class="">10 février 2019 23:58:18 UTC+1<br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px;" class=""><span style="font-family:
-webkit-system-font, Helvetica Neue, Helvetica,
sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">À: </b></span><span style="font-family:
-webkit-system-font, Helvetica Neue, Helvetica,
sans-serif;" class=""><a href="mailto:fieldtrip@science.ru.nl" class="" moz-do-not-send="true">fieldtrip@science.ru.nl</a><br class="">
</span></div>
<br class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div class="">Dear all,</div>
<div class=""><br class="">
</div>
<div class="">When I try to perform an analysis with my PC
with the following code : </div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.neighbours
= ft_prepare_neighbours(cfg_neighb, DataP);</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.channel
= ROI;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.latency
= [0 100];</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.frequency
= [13 30];</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.method
= <span style="color: #00d100" class="">'montecarlo'</span>;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas; color: rgb(0, 209, 0);" class=""><span style="" class="">cfg.statistic
= </span>'ft_statfun_indepsamplesT'<span style="" class="">;</span></div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.correctm
= <span style="color: #00d100" class="">'cluster'</span>;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.clusteralpha
= 0.05;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.clusterstatistic
= <span style="color: #00d100" class="">'maxsum'</span>;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.minnbchan
= 2;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.tail
= 0;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.clustertail
= 0;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.alpha
= 0.025;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.numrandomization
= 100;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.avgovertime
= <span style="color: #00d100" class="">'yes'</span>;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.avgoverfreq
= <span style="color: #00d100" class="">'yes'</span>;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas; min-height: 12px;" class=""> <br class="webkit-block-placeholder">
</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">design = [];</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">design(1:numel(PFiles))
= 1;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">design(end+1:end+numel(TFiles))
= 2;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas; min-height: 12px;" class=""> <br class="webkit-block-placeholder">
</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.design =
design;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">cfg.ivar =
1;</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas; min-height: 12px;" class=""> <br class="webkit-block-placeholder">
</div>
<div style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Consolas;" class="">stat =
ft_freqstatistics(cfg,DataP,DataT);</div>
</div>
<div class=""><br class="">
</div>
<div class="">Everything is working, but when I try with
my macbook pro, the function doesn’t work. </div>
<div class="">The permutation progress take directly the
value 100 on 100, and the matlab status is busy with no
return and no possibility to break the code (ctrl-c), I
need to close matlab to stop the execution.</div>
<div class=""><br class="">
</div>
<div class="">Does anyone have an idea or have the same
problem? </div>
<div class=""><br class="">
</div>
<div class="">Kind regards,</div>
<br class="">
<div class="">
Alexandre Chalard<br class="">
--<br class="">
PhD student<br class="">
<br class="">
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
Alexandre Chalard<br class="">
--<br class="">
PhD student<br class="">
Toulouse NeuroImaging Center UMR1214 - Inserm/UPS<br class="">
CHU PURPAN - Pavillon BAUDOT<br class="">
3ème étage, Bureau 308<br class="">
31024 TOULOUSE CEDEX 3<br class="">
Tel: 05.62.74.62.02<br class="">
<br class="">
</div>
<br class="">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-freetext" href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a>
<a class="moz-txt-link-freetext" href="https://doi.org/10.1371/journal.pcbi.1002202">https://doi.org/10.1371/journal.pcbi.1002202</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
M.Sc.-Psych. Martin Rosenfelder
Research Associate
PhD Student
Clinical and Biological Psychology
Ulm University
Room: 47.2.259
Phone: +49 731-50 26592
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:martin.rosenfelder@uni-ulm.de">martin.rosenfelder@uni-ulm.de</a> </pre>
</body>
</html>