Hi Francois,
your previous help solved the initial errors. I have updated Brainstorm and no longer have the problem using the 20484 vertices.
However, working my way through the tutorial I have experienced an early and with my understanding insurmountable hurdle with the tutorial data, which I replicated with m,y data and on both a Windows and Mac systems. Matlab 2016a and b, latest Brainstorm version + SPM12
after co-registering and replacing MRIs the generating canonical surface step gives me the same error on 2 systems
SPM12: spm_preproc_run (v7408) 12:13:34 - 22/02/2019
Segment /Users/seris/.brainstorm/tmp/spm_canonical.nii
Completed : 12:15:02 - 22/02/2019
Undefined function or variable 'isfolder'.
Error in ft_filetype (line 156)
if isfolder(filename)
Error in ft_read_headshape (line 212)
fileformat = ft_filetype(filename);
Error in spm_eeg_inv_mesh (line 111)
fid = spm_eeg_fixpnt(ft_read_headshape(fullfile(spm('dir'), 'EEGtemplates', 'fiducials.sfp')));
Error in process_generate_canonical>Compute (line 151)
spmMesh = spm_eeg_inv_mesh(NiiFile, Resolution);
Error in process_generate_canonical>ComputeInteractive (line 210)
[isOk, errMsg] = Compute(iSubject, iAnatomy, Resolution, 1);
Error in process_generate_canonical (line 28)
eval(macro_method);
Error in tree_callbacks>@(h,ev)process_generate_canonical('ComputeInteractive',iSubject,[]) (line 564)
jItem = gui_component('MenuItem', jPopup, [], 'SPM canonical surfaces', IconLoader.ICON_SURFACE_CORTEX, [], @(h,ev)process_generate_canonical('ComputeInteractive', iSubject, []));
Folders on path. Names contain no spaces. Not sure what it is.
Nay help appreciated.
Stefano