BCILAB icon indicating copy to clipboard operation
BCILAB copied to clipboard

Invalid mex-file issue

Open gleslie opened this issue 10 years ago • 5 comments

Running BCILAB on r2014a, Windows 8.1.

When training a new model, Computation failed; error trace: Invalid MEX-file 'C:\Users\grace\Documents\BCILAB-master\dependencies\mexutils-2013-11-11\build-Jordan\arraydeal.mexw64': The specified procedure could not be found. occurred in: flt_resample: 107 hlp_wrapresults: 51 exp_eval: 133 exp_beginfun: 419 flt_laplace: 45 hlp_wrapresults: 51 exp_eval: 133 exp_beginfun: 419 flt_fir: 111 hlp_wrapresults: 51 exp_eval: 133 exp_beginfun: 419 set_makepos: 60 hlp_wrapresults: 51 exp_eval: 133 make_func/@(f,a,frame__f2)feval(f,a{:}): 0 hlp_scope: 51 exp_eval_optimized: 48 ParadigmDataflowSimplified.calibrate_simple: 549 ParadigmBaseSimplified.calibrate: 183 bci_train/@(varargin)instance.calibrate(varargin{:}): 0 @(trainset,varargin)utl_complete_model(calibrate_func('collection',{trainset},varargin{:}),predict_func): 709 utl_searchmodel: 167 hlp_getresult: 47 par_beginschedule: 140 run_computation: 769 make_func/@(f,a,frame__f1)feval(f,a{:}): 0 hlp_scope: 51 bci_train: 737 pushbutton1_Callback: 156 gui_mainfcn: 95 gui_calibratemodel: 30 @(hObject,eventdata)gui_calibratemodel('pushbutton1_Callback',hObject,eventdata,guidata(hObject)): 0

gleslie avatar Mar 23 '15 09:03 gleslie

Hi Grace, there's a newer version of this file I another bcilab branch (eg devel) on github. Issue is that is uses a mex function that got deprecated (removed) in 2014.

Christian

On Monday, March 23, 2015, gleslie [email protected] wrote:

Running BCILAB on r2014a, Windows 8.1.

When training a new model, Computation failed; error trace: Invalid MEX-file 'C:\Users\grace\Documents\BCILAB-master\dependencies\mexutils-2013-11-11\build-Jordan\arraydeal.mexw64': The specified procedure could not be found. occurred in: flt_resample: 107 hlp_wrapresults: 51 exp_eval: 133 exp_beginfun: 419 flt_laplace: 45 hlp_wrapresults: 51 exp_eval: 133 exp_beginfun: 419 flt_fir: 111 hlp_wrapresults: 51 exp_eval: 133 exp_beginfun: 419 set_makepos: 60 hlp_wrapresults: 51 exp_eval: 133 make_func/@(f,a,frame__f2)feval(f,a{:}): 0 hlp_scope: 51 exp_eval_optimized: 48 ParadigmDataflowSimplified.calibrate_simple: 549 ParadigmBaseSimplified.calibrate: 183 bci_train/@(varargin)instance.calibrate(varargin{:}): 0 @(trainset,varargin)utl_complete_model(calibrate_func('collection',{trainset},varargin{:}),predict_func): 709 utl_searchmodel: 167 hlp_getresult: 47 par_beginschedule: 140 run_computation: 769 make_func/@(f,a,frame__f1)feval(f,a{:}): 0 hlp_scope: 51 bci_train: 737 pushbutton1_Callback: 156 gui_mainfcn: 95 gui_calibratemodel: 30 @(hObject,eventdata)gui_calibratemodel('pushbutton1_Callback',hObject,eventdata,guidata(hObject)): 0

— Reply to this email directly or view it on GitHub https://github.com/sccn/BCILAB/issues/6.

sccn avatar Mar 23 '15 10:03 sccn

Thank you, Christian.

I just submitted another issue to the LSL project on googlecode (though I wasn't able to pinpoint whether the problem was from SNAP, LabRecorder, LSL, or the XDF importer for EEGLAB).

I communicated with Makoto about this problem first and he said it was quite common, he's heard from many collaborators about it, and there wasn't a good workaround yet (he sent me some Mobilab code but that was not for XDF files).

On Mon, Mar 23, 2015 at 6:03 PM, Christian Kothe [email protected] wrote:

Hi Grace, there's a newer version of this file I another bcilab branch (eg devel) on github. Issue is that is uses a mex function that got deprecated (removed) in 2014.

Christian

On Monday, March 23, 2015, gleslie [email protected] wrote:

Running BCILAB on r2014a, Windows 8.1.

When training a new model, Computation failed; error trace: Invalid MEX-file

'C:\Users\grace\Documents\BCILAB-master\dependencies\mexutils-2013-11-11\build-Jordan\arraydeal.mexw64': The specified procedure could not be found. occurred in: flt_resample: 107 hlp_wrapresults: 51 exp_eval: 133 exp_beginfun: 419 flt_laplace: 45 hlp_wrapresults: 51 exp_eval: 133 exp_beginfun: 419 flt_fir: 111 hlp_wrapresults: 51 exp_eval: 133 exp_beginfun: 419 set_makepos: 60 hlp_wrapresults: 51 exp_eval: 133 make_func/@(f,a,frame__f2)feval(f,a{:}): 0 hlp_scope: 51 exp_eval_optimized: 48 ParadigmDataflowSimplified.calibrate_simple: 549 ParadigmBaseSimplified.calibrate: 183 bci_train/@(varargin)instance.calibrate(varargin{:}): 0

@(trainset,varargin)utl_complete_model(calibrate_func('collection',{trainset},varargin{:}),predict_func): 709 utl_searchmodel: 167 hlp_getresult: 47 par_beginschedule: 140 run_computation: 769 make_func/@(f,a,frame__f1)feval(f,a{:}): 0 hlp_scope: 51 bci_train: 737 pushbutton1_Callback: 156 gui_mainfcn: 95 gui_calibratemodel: 30

@(hObject,eventdata)gui_calibratemodel('pushbutton1_Callback',hObject,eventdata,guidata(hObject)): 0

— Reply to this email directly or view it on GitHub https://github.com/sccn/BCILAB/issues/6.

— Reply to this email directly or view it on GitHub https://github.com/sccn/BCILAB/issues/6#issuecomment-84924621.

gleslie avatar Mar 23 '15 10:03 gleslie

Hi Christian,

I have the same problem also on MATLAB2014a. I copied the file from the devel branch (Github) but still get the same error. Do you have any recommendation?

Best wishes! Thorsten

tzander avatar Dec 03 '15 16:12 tzander

I have the same problem also on MATLAB2015b. I am using BCILAB-master

Invalid MEX-file 'C:\Users\grace\Documents\BCILAB-master\dependencies\mexutils-2013-11-11\build-Jordan\arraydeal.mexw64': The specified procedure could not be found.

please tell me how I fix the problem MEX file.

brianbaloch avatar Aug 15 '16 11:08 brianbaloch

Thanks alot mine MEX problem is solved after installing BCILAB-devel

brianbaloch avatar Aug 15 '16 16:08 brianbaloch