[FieldTrip] Error related to ft_postamble_provenance

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Mon Jun 3 16:46:14 CEST 2019


Hi Yuriria,

Are you sure that the quoted line  'freqall = ft_appendfreq(cfg, freqall.freq);’ is correct? Reading this, I would assume that the input argument freqall is a structure, and that freqall.freq is a vector, which is an incorrect input to ft_appendfreq to begin with.

Best wishes,
Jan-Mathijs

On 30 May 2019, at 17:13, Yuriria Vazquez Zuniga <yvazquez at mail.rockefeller.edu<mailto:yvazquez at mail.rockefeller.edu>> wrote:

Hello,

I keep having the following error when I try to run several of the fieldtrip functions like:
 ft_freqgrandaverage, ft_redefinetrial, ft_appendfreq, etc….

The error is related to the software not been able to find the function or variable 'ftohDiW7th_FuncMem’.

Text Error is the following:
Undefined function or variable 'ftohDiW7th_FuncMem'.

Error in ft_postamble_provenance (line 56)
cfg.callinfo.procmem  = memtoc(ftohDiW7th_FuncMem);

Error in ft_postamble (line 55)
  evalin('caller', ['ft_postamble_' cmd]);

Error in ft_selectdata (line 454)
ft_postamble provenance         % this records the time and memory at the end of the function, prints
them on screen and adds this information together with the function name and MATLAB version etc. to
the output cfg

Error in ft_appendfreq (line 176)
    [varargin{:}]    = ft_selectdata(tmpcfg, varargin{:});

Error in CollapseSessionsPerDay_n_Average_CaseRest (line 149)
    freqall = ft_appendfreq(cfg, freqall.freq);

I checked for my startup Mfile, and I configured as  indicated in:
http://www.fieldtriptoolbox.org/faq/should_i_add_fieldtrip_with_all_subdirectories_to_my_matlab_path/

Do you guys have any suggestion on how to debug this?
All the best,

Yuriria
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190603/ecce8eb8/attachment-0001.html>
-------------- next part --------------
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202


More information about the fieldtrip mailing list