<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi Baptiste<br>You are totally right. The bug has been corrected and you can find the new version by downloading the latest FieldTrip.<br><br>Cheers,<br>Cristiano<br><br>----- "Baptiste Gauthier" <gauthierb.ens@gmail.com> schreef:
<br>> Van: "Baptiste Gauthier" <gauthierb.ens@gmail.com><br>> Aan: fieldtrip@donders.ru.nl<br>> Verzonden: Vrijdag 11 februari 2011 10:46:13<br>> Onderwerp: [FieldTrip] bug in ft_componentanalysis<br>><br>> Dear Fieldtrip users,<br>> <br>> I noticed a little error in ft_componentanalysis since your latest update (2011/02/09) :<br>> While using the function, I got this error message : <br>> <br>> "??? Error using ==> toc<br>> You must call TIC without an output argument before calling TOC without an input argument.<br>>
<br>> Error in ==> ft_componentanalysis at 465<br>> fprintf('total time in componentanalysis %.1f seconds\n', stopwatch(toc));<br>> <br>> Error in ==> temprod_NEW_runicaonspectra at 37<br>> comp = ft_componentanalysis(cfg,data);"<br>>
<div id=":8j">>
<br>> It seems there's here a bad use of function toc.m<br>> <br>> It should be : "fprintf('total time in componentanalysis %.1f seconds\n', toc(stopwatch));" <br>> I tried it and it worked fine.<br>> <br>> Please let me know if I'm wrong.<br>>
<br>> Cheers, <br>> <font color="#888888"><br>> Baptiste gauthier</font></div>
<br>> _______________________________________________<br>> fieldtrip mailing list<br>> fieldtrip@donders.ru.nl<br>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</div></body></html>