sccn / BCILAB

MATLAB Toolbox for Brain-Computer Interface Research
Other
195 stars 120 forks source link

Error in Loading BCILAB dependencies with NARGINCHK #35

Open Meshael-S opened 7 years ago

Meshael-S commented 7 years ago

Greeting

I face problem require change every 'nargchk' to 'NARGINCHK' Explanation: The recommended functions for validating the number of input and output arguments are narginchk(minargs, maxargs) and nargoutchk(minargs, maxargs), respectively. Each of these functions throws an error if the number of arguments falls outside the specified range. Therefore, there is no need to use the error function in combination with either of these functions.

For example, I put "narginchk( 1, inf ) ;" instead of "error( nargchk( 1, Inf, nargin ) );"

But I faced dependency problem : Undefined function 'NARGINCHK' for input arguments of type 'double'. The dependency will likely not be fully operational.

Please help Here is the run: Trial>> bcilab starting BCILAB... running config script C:\Users\Meshael\BCI researches\sw\BCILAB-1.1\bcilab_config.m... running startup function... BCILAB sub-directories have been detected in the MATLAB path, removing them. The previously loaded EEGLAB path has been replaced. Loading BCILAB dependencies... Loading C:\Users\Meshael\BCI researches\sw\BCILAB-1.1\dependencies\unlocbox-1.1.70... UnLocBoX version 1.1.70. Copyright 2012-2013 LTS2-EPFL, by Nathanael Perraudin Loading C:\Users\Meshael\BCI researches\sw\BCILAB-1.1\dependencies\mlunit-1.5.1\src... mlUnit has found a built-in assert functions. Trying to rename mlUnit assert.m...not found. Loading C:\Users\Meshael\BCI researches\sw\BCILAB-1.1\dependencies\eeglab_10_0_1_0x... eeglab: options file is C:\Users\Meshael\BCI researches\sw\BCILAB-1.1\dependencies\eeglab_10_0_1_0x\functions\adminfunc\eeg_options.m Error running dependency loader C:\Users\Meshael\BCI researches\sw\BCILAB-1.1\dependencies\eeglab_10_0_1_0x\env_exec.m; reason: While setting property 'FontName' of class 'UIControl': String value must not be empty The dependency will likely not be fully operational. Loading C:\Users\Meshael\BCI researches\sw\BCILAB-1.1\dependencies\cvx-1.21.b795...

Testing the cvx distribution. If this script aborts with an error, please report the error to the authors.

Error running dependency loader C:\Users\Meshael\BCI researches\sw\BCILAB-1.1\dependencies\cvx-1.21.b795\env_exec.m; reason: Undefined function 'NARGINCHK' for input arguments of type 'double'. The dependency will likely not be fully operational.

code is in C:\Users\Meshael\BCI researches\sw\BCILAB-1.1\code data is in C:\Users\Meshael\BCI researches\sw\BCILAB-1.1\userdata results are in C:\Users\Meshael\BCI researches\sw\BCILAB-1.1\userdata cache is disabled temp is in C:\Users\Meshael\BCI researches\sw\BCILAB-1.1-temp

Welcome to the BCILAB toolbox on Meshael!

wajiha-Ilyas commented 3 years ago

I am also facing this problem .