<div dir="ltr"><span style="color:rgb(33,33,33);font-size:13px">Dear Fieldtrip users:</span><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">My name is Jiun-Wei Chen and I am working in Brain mapping lab in Taiwan on the brain science. I am analyzing data of MEG.</div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">I found the problem I can't properly installing Fieldtrip in my MATLAB. My versions of MATLAB are R2015b and R2016b. before installing Fieldtrip, I have installed SPM12 and brainstorm in my MATLAB. Then, I follow this website below to set path </div><div style="color:rgb(33,33,33);font-size:13px"><a href="http://www.fieldtriptoolbox.org/faq/should_i_add_fieldtrip_with_all_subdirectories_to_my_matlab_path" target="_blank">http://www.fieldtriptoolbox.org/faq/should_i_add_fieldtrip_with_all_subdirectories_to_my_matlab_path</a></div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">this is my instance below:</div><div style="color:rgb(33,33,33);font-size:13px"><div>>> addpath C:\Users\wei\Documents\MATLAB\Fieldtrip</div><div>>> ft_defaults</div></div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">after I key in these commands, I get the error message below:</div><div style="color:rgb(33,33,33);font-size:13px"><div>Undefined function 'ft_platform_supports' for input arguments of type 'char'.</div><div><br></div><div>Error in ft_defaults>checkMultipleToolbox (line 291)</div><div>if ~ft_platform_supports('which-all')</div><div><br></div><div>Error in ft_defaults (line 114)</div><div>  checkMultipleToolbox('FieldTrip',           'ft_defaults.m');</div></div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">I also tried to install Fieldtrip only in my MATLAB and preprocess my data. (my data format is ".fif") but I got an error message again. </div><div style="color:rgb(33,33,33);font-size:13px"><div><br></div><div>Subscripted assignment between dissimilar structures.</div><div><br></div><div>Error in mergeconfig>mergeconfig_helper (line 39)</div><div>          input(j) = mergeconfig_helper(input(j), default(j));</div><div><br></div><div>Error in mergeconfig>mergeconfig_helper (line 53)</div><div>    input.(fn) = mergeconfig_helper(input.(fn), default.(fn));</div><div><br></div><div>Error in mergeconfig>mergeconfig_helper (line 53)</div><div>    input.(fn) = mergeconfig_helper(input.(fn), default.(fn));</div><div><br></div><div>Error in mergeconfig (line 12)</div><div>  input = mergeconfig_helper(input, default);</div><div><br></div><div>Error in ft_preamble_init (line 55)</div><div>cfg = mergeconfig(cfg, rmfield(ft_default, 'preamble'));</div><div><br></div><div>Error in ft_preamble (line 85)</div><div>evalin('caller', full_cmd);</div><div><br></div><div>Error in ft_preprocessing (line 182)</div><div>ft_preamble init</div><div><br></div><div>Error in ft_qualitycheck (line 212)</div><div>    data           = ft_preprocessing(cfgpreproc); clear cfgpreproc;</div></div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">I upload my data in my google drive as it exceeds the critical file size of 1MB. Here is the link: <a href="https://drive.google.com/open?id=0B8Xo-QjG1y2TZjBnWjdpNjZXNlk" target="_blank">https://drive.google.com/open?id=0B8Xo-QjG1y2TZjBnWjdpNjZXNlk</a></div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">the code I use are as follows:</div><div style="color:rgb(33,33,33);font-size:13px"><div>%% Quality check</div><div>cfg         = [];%configuration structure</div><div>cfg.dataset = 'run1_sss.fif';%string with the filename</div><div>ft_qualitycheck(cfg)</div></div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">I could preprocess this data by Fieldtrip code that exists in the external folder of SPM and brainstorm. but I got the warning message that altered me there is the same code in these folders.</div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">can someone tell me how to install Fieldtrip when brainstorm and SPM exist in the same time and how to avoid the warning message I mentioned above. Any help would be appreciated.</div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">Best,</div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">Jiun-Wei</div></div>