Skip to content

Commit 40d101f

Browse files
committed
updates for compiled version of EEGLAB
1 parent 1313ab2 commit 40d101f

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ git pull --recurse-submodules
4343

4444
Delorme, A., & Makeig, S. (2004). EEGLAB: an open source toolbox for analysis of single-trial EEG dynamics including independent component analysis. Journal of neuroscience methods, 134(1), 9-21. (See article [here](http://sccn.ucsd.edu/eeglab/download/eeglab_jnm03.pdf))
4545

46+
# Compiled version of EEGLAB
47+
48+
If you experience problems, try running EEGLAB as administrator.
49+
4650
# Documentation:
4751

4852
EEGLAB documentation is available on the EEGLAB wiki (see http://sccn.ucsd.edu/wiki/EEGLAB_Wiki for more details).

eeglab.m

+3
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@
164164

165165
% Warning if in toolbox folder
166166
% ----------------------------
167+
if isdeployed
168+
fprintf(2, 'Compiled EEGLAB version: if you encounter problem, try running EEGLAB as administrator\n');
169+
end
167170
if isempty(warningShowed)
168171
filterPath = fileparts(fileparts(fileparts(which('filter'))));
169172
eeglabPath = fileparts(fileparts(which('eeglab')));

functions/adminfunc/eeg_getversion.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
function [vers, versnum, releaseDate] = eeg_getversion
4343

4444
vers = '2023.0';
45-
releaseDate = '9-Feb-23 14:55:42'; % unix date -> date +"%d-%b-%y %T"
45+
releaseDate = '17-Feb-23 14:55:42'; % unix date -> date +"%d-%b-%y %T"
4646

4747
% get numerical version number
4848
tmpvers = vers;

functions/supportfiles/test_compiled_version.m

+6-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@ function test_compiled_version(varargin)
1818
TMP = pop_loadbv( fullfile('sample_data', 'test_data'), 'testbva.vhdr' );
1919
TMP = pop_loadcnt( fullfile('sample_data', 'test_data', 'test.cnt') );
2020
TMP = pop_musemonitor( fullfile('sample_data', 'test_data', 'testmusemonitor.csv') );
21-
TMP = pop_mffimport( fullfile(pwd, 'sample_data', 'test_data', 'testmff.mff'), 'code' );
2221
TMP = pop_biosig( fullfile('sample_data', 'test_data', 'test.edf') );
2322
TMP = pop_biosig( fullfile('sample_data', 'test_data', 'test.bdf') );
2423
[TMP,TMP2] = pop_importbids( fullfile('sample_data', 'test_data', 'BIDS_test'), 'bidsevent', 'off' );
24+
try
25+
TMP = pop_mffimport( fullfile(pwd, 'sample_data', 'test_data', 'testmff.mff'), 'code' );
26+
catch
27+
warning(lasterr)
28+
fprintf(2, 'pop_mffimport error could be due to permission issues, try running EEGLAB as administrator\n')
29+
end
2530
end
2631

2732
% EEGLAB history file generated on the 08-Jul-2020

0 commit comments

Comments
 (0)