[Eeglablist] BCI-Lab question

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Thu Aug 18 10:37:50 PDT 2016


Dear Alex,

I can only suggest to report it to Bugzilla since I'm personally not
familiar with BCILAB. I wish I were!
https://sccn.ucsd.edu/bugzilla/enter_bug.cgi
I appreciate your patience and cooperation.

Makoto

On Fri, Aug 12, 2016 at 10:55 AM, Alex Abe <nabra005 at odu.edu> wrote:

> Hi,
>
> I am running the search function in BCI_lab, and it is giving me an error
> which I am not able to solve. Can any BCI_lab expert help me out ? If I do
> not use search, the program compiles without an error and provides an
> output.
>
> I am using Matlab 2014a version. I tried running on 2011a and it still
> gives me the same error. Do let me know if you need any other info.
>
> My command line that calls the search function is as follows:
>
> myapproach = {'CSP' 'SignalProcessing',{'EpochExtraction',[search(0:0.
> 5:1.0),search(2.0:0.5:3.0)],'FIRFilter',[6 8 29 30]}};
>
>
> The error I receive is below:
>
>
>
> Attempt to reference field of non-structure array.
>
> Error in ParadigmBaseSimplified>@(x)length(x.streams)>1 (line 168)
>                 if any(cellfun(@(x)length(x.streams) > 1,collection))
>
> Error in ParadigmBaseSimplified/calibrate (line 168)
>                 if any(cellfun(@(x)length(x.streams) > 1,collection))
>
> Error in bci_train/@(varargin)instance.calibrate(varargin{:})
>
>
>
> Error in
> bci_train>@(trainset,varargin)utl_complete_model(calibrate_
> func('collection',{trainset},varargin{:}),predict_func)
> (line 704)
>         'trainer', @(trainset,varargin)
>         utl_complete_model(calibrate_func('collection',{trainset},varargin{:}),predict_func),
> ...
>
> Error in utl_evaluate_fold (line 29)
>     model = opts.trainer(trainset,opts.args{:});
>
> Error in par_beginschedule (line 157)
>             sched(t) = {{t,tasks{t}{1}(tasks{t}{2:end})}}; end
>
> Error in par_schedule (line 60)
> id = par_beginschedule(tasks,opts);
>
> Error in utl_crossval (line 200)
>     results = par_schedule(tasks, 'engine',opts.engine_cv,
> 'pool',opts.pool, 'policy',opts.policy);
>
> Error in utl_searchmodel>@(varargin)utl_crossval(data,nestedcv_ctrl,'args',varargin)
> (line 147)
>     objective_function = @(varargin) utl_crossval(data,nestedcv_
> ctrl,'args',varargin);
>
> Error in hlp_wrapresults (line 51)
>         [a{1:len}] = f(varargin{:});
>
> Error in par_beginschedule (line 157)
>             sched(t) = {{t,tasks{t}{1}(tasks{t}{2:end})}}; end
>
> Error in par_schedule (line 60)
> id = par_beginschedule(tasks,opts);
>
> Error in utl_gridsearch (line 146)
> outputs = par_schedule(tasks, 'engine',opts.engine_gs,'pool'
> ,opts.pool,'policy',opts.policy);
>
> Error in utl_searchmodel (line 156)
>     [stats.bestidx,stats.inputs,stats.outputs] =
> utl_gridsearch(gridsearch_ctrl, opts.args{:});
>
> Error in utl_nested_crossval>@(P,varargin)utl_searchmodel(P,opts,'scheme',opts.opt_scheme)
> (line 98)
>     opts.trainer = @(P,varargin) utl_searchmodel(P,opts,'
> scheme',opts.opt_scheme);
>
> Error in utl_evaluate_fold (line 29)
>     model = opts.trainer(trainset,opts.args{:});
>
> Error in par_beginschedule (line 157)
>             sched(t) = {{t,tasks{t}{1}(tasks{t}{2:end})}}; end
>
> Error in par_schedule (line 60)
> id = par_beginschedule(tasks,opts);
>
> Error in utl_crossval (line 200)
>     results = par_schedule(tasks, 'engine',opts.engine_cv,
> 'pool',opts.pool, 'policy',opts.policy);
>
> Error in utl_nested_crossval (line 102)
> [measure,stats] = utl_crossval(data, opts, 'scheme',opts.eval_scheme);
>
> Error in bci_train>run_computation (line 759)
>     [measure,stats] = utl_nested_crossval(opts.data, crossval_args{:});
>
> Error in hlp_scope>make_func/@(f,a,frame__f1)feval(f,a{:})
>
>
>
> Error in hlp_scope (line 51)
> [varargout{1:nargout}] = func(f,varargin);
>
> Error in bci_train (line 730)
> [measure,model,stats] =
> hlp_scope({'fingerprint_check',0,'fingerprint_create',0},@
> run_computation,opts,crossval_args);
>
>
>
> Alex
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.
> ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160818/069d26eb/attachment.html>


More information about the eeglablist mailing list