Back to the main page.
Bug 1026 - ft_checkconfig>checksizefun error.
Status | CLOSED FIXED |
Reported | 2011-10-10 11:33:00 +0200 |
Modified | 2011-10-12 14:39:51 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Windows |
Importance: | P1 normal |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Stephen Whitmarsh - 2011-10-10 11:33:58 +0200
it seems cfg is lost somewhere/somehow. (I previously commented the checksize out as a workaround but that doesnt help when running peercellfun...) ??? Undefined function or method 'fieldnames' for input arguments of type 'char'. Error in ==> ft_checkconfig>checksizefun at 569 fieldsorig = fieldnames(cfg); Error in ==> ft_checkconfig>checksizefun at 586 cfg(k).(fieldsorig{i}){j} = checksizefun(cfg(k).(fieldsorig{i}){j}, max_size); Error in ==> ft_checkconfig>checksizefun at 582 cfg(k).(fieldsorig{i}) = checksizefun(cfg(k).(fieldsorig{i}), max_size); Error in ==> ft_checkconfig>checksizefun at 582 cfg(k).(fieldsorig{i}) = checksizefun(cfg(k).(fieldsorig{i}), max_size); Error in ==> ft_checkconfig at 562 cfg = checksizefun(cfg, cfg.checksize); Error in ==> ft_prepare_leadfield at 271 cfg = ft_checkconfig(cfg, 'trackconfig', 'off', 'checksize', 'yes'); Error in ==> do_DICS at 76 leadfield = ft_prepare_leadfield(cfg);