I am getting started on BCILAB so I'm currently following through the practicum slides. I am using the current version (devel branch) which looks slighty different to the one used in the practicum. I don't understand how to set the target markers correctly. In the practicum the field appears under 'configure approach' while in my version I can only make changes to them under 'calibrate model'. I tried naming them as {'StimulusCode_2','StimulusCode_3'} as described on the website: https://sccn.ucsd.edu/wiki/BCILAB as well as {'S 1' 'S 2'} as described in the practicum.
In any case I get the following error:
WARNING: the data set did not contain matching target markers.
Computation failed; error trace:
X and V must be of the same length.
occurred in:
reshapeAndSortXandV: 416
interp1: 91
design_fir: 51
flt_fir: 206
hlp_wrapresults: 52
exp_eval: 131
exp_beginfun: 428
set_makepos: 61
hlp_wrapresults: 52
exp_eval: 131
@(f,a,framef2)feval(f,a{:}): 0
hlp_scope: 53
exp_eval_optimized: 52
ParadigmDataflowSimplified.calibrate_simple: 588
ParadigmBaseSimplified.calibrate: 184
@(varargin)instance.calibrate(varargin{:}): 0
@(trainset,varargin)utl_complete_model(args.calibrate_func('collection',{trainset},varargin{:}),args.predict_func): 903
utl_searchmodel: 183
hlp_getresult: 47
par_beginschedule: 166
run_computation: 932
@(f,a,framef1)feval(f,a{:}): 0
hlp_scope: 53
bci_train: 856
pushbutton1_Callback: 156
gui_mainfcn: 95
gui_calibratemodel: 30
@(hObject,eventdata)gui_calibratemodel('pushbutton1_Callback',hObject,eventdata,guidata(hObject)): 0
Here are two screenshots of both my windows:
Is the [7 30] as the frequency specification of the filter correct? I assume it's the same thing as 'frequency domain selection' in the practicum?
I've been trying for a while now to fix this but I am not a programmer and new to this. The 'help' function didn't get me any further.
Does anybody have an idea? Any help would be greatly appreciated!
Hello,
I am getting started on BCILAB so I'm currently following through the practicum slides. I am using the current version (devel branch) which looks slighty different to the one used in the practicum. I don't understand how to set the target markers correctly. In the practicum the field appears under 'configure approach' while in my version I can only make changes to them under 'calibrate model'. I tried naming them as {'StimulusCode_2','StimulusCode_3'} as described on the website: https://sccn.ucsd.edu/wiki/BCILAB as well as {'S 1' 'S 2'} as described in the practicum. In any case I get the following error:
WARNING: the data set did not contain matching target markers. Computation failed; error trace: X and V must be of the same length. occurred in: reshapeAndSortXandV: 416 interp1: 91 design_fir: 51 flt_fir: 206 hlp_wrapresults: 52 exp_eval: 131 exp_beginfun: 428 set_makepos: 61 hlp_wrapresults: 52 exp_eval: 131 @(f,a,framef2)feval(f,a{:}): 0 hlp_scope: 53 exp_eval_optimized: 52 ParadigmDataflowSimplified.calibrate_simple: 588 ParadigmBaseSimplified.calibrate: 184 @(varargin)instance.calibrate(varargin{:}): 0 @(trainset,varargin)utl_complete_model(args.calibrate_func('collection',{trainset},varargin{:}),args.predict_func): 903 utl_searchmodel: 183 hlp_getresult: 47 par_beginschedule: 166 run_computation: 932 @(f,a,framef1)feval(f,a{:}): 0 hlp_scope: 53 bci_train: 856 pushbutton1_Callback: 156 gui_mainfcn: 95 gui_calibratemodel: 30 @(hObject,eventdata)gui_calibratemodel('pushbutton1_Callback',hObject,eventdata,guidata(hObject)): 0 Here are two screenshots of both my windows:
![screenshot configure approach](https://user-images.githubusercontent.com/23116404/28963682-49a349bc-790a-11e7-8a60-6e8cd5fc06a0.PNG)
Is the [7 30] as the frequency specification of the filter correct? I assume it's the same thing as 'frequency domain selection' in the practicum?
I've been trying for a while now to fix this but I am not a programmer and new to this. The 'help' function didn't get me any further. Does anybody have an idea? Any help would be greatly appreciated!