Skip to content

Commit 0abef69

Browse files
committed
Capitalized EEGlab plugin name to prevent warning and raised version
1 parent 71adb46 commit 0abef69

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.1
1+
1.2.2

eegplugin_mef3.m renamed to eegplugin_MEF3.m

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
% eegplugin_mef3() - plugin for importing read MEF 3.0 data
1+
% eegplugin_MEF3() - plugin for importing read MEF 3.0 data
22
%
33
% Usage:
4-
% >> eegplugin_mffmatlabio(fig, trystrs, catchstrs);
4+
% >> eegplugin_MEF3(fig, trystrs, catchstrs);
55
%
66
% Inputs:
77
% fig - [integer] eeglab figure.
88
% trystrs - [struct] "try" strings for menu callbacks.
99
% catchstrs - [struct] "catch" strings for menu callbacks.
1010
%
1111

12-
function versionstr = eegplugin_mef3(fig, trystrs, catchstrs)
12+
function versionstr = eegplugin_MEF3(fig, trystrs, catchstrs)
1313

1414
% retrieve the version
1515
try
1616
versionstr = fileread('VERSION');
1717
catch
18-
disp('eegplugin_mef3 cannot find the ''VERSION'' file');
18+
disp('eegplugin_MEF3 cannot find the ''VERSION'' file');
1919
return
2020
end
2121

2222
% check input arguments
2323
if nargin < 3
24-
disp('eegplugin_mef3 requires 3 arguments');
24+
disp('eegplugin_MEF3 requires 3 arguments');
2525
return
2626
end
2727

2828
% add amica folder to path
2929
% -----------------------
30-
if ~exist('pop_mef3')
31-
p = which('eegplugin_mef3');
32-
p = p(1:findstr(p,'eegplugin_mef3.m')-1);
30+
if ~exist('pop_MEF3')
31+
p = which('eegplugin_MEF3');
32+
p = p(1:findstr(p,'eegplugin_MEF3.m')-1);
3333
addpath(p);
3434
end
3535

@@ -39,7 +39,7 @@
3939

4040
% menu callback commands
4141
% ----------------------
42-
comload = [ trystrs.no_check '[EEG, LASTCOM] = pop_mef3;' catchstrs.new_non_empty ];
42+
comload = [ trystrs.no_check '[EEG, LASTCOM] = pop_MEF3;' catchstrs.new_non_empty ];
4343

4444
% create menus (CHANGING THESE MENUS AFFECTS THE MAIN eeglab.m FUNCTION)
4545
% ------------

pop_mef3.m renamed to pop_MEF3.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
% pop_mef3 - import MEF file to EEGLAB structure.
1+
% pop_MEF3 - import MEF file to EEGLAB structure.
22
%
33
% Usage:
4-
% EEG = pop_mef3; % pop up menu to select file
5-
% EEG = pop_mef3(folder); % import folder
4+
% EEG = pop_MEF3; % pop up menu to select file
5+
% EEG = pop_MEF3(folder); % import folder
66
%
77
% Input:
88
% folder - foldername for the MEF data
99
%
1010
% Output:
1111
% EEG - EEGLAB structure
1212

13-
function [EEG, com] = pop_mef3(fileName)
13+
function [EEG, com] = pop_MEF3(fileName)
1414

1515
com = '';
1616

@@ -45,4 +45,4 @@
4545
end
4646
end
4747

48-
com = sprintf('EEG = pop_mef3(''%s'');', fileName);
48+
com = sprintf('EEG = pop_MEF3(''%s'');', fileName);

0 commit comments

Comments
 (0)