|
1 | | -% eegplugin_mef3() - plugin for importing read MEF 3.0 data |
| 1 | +% eegplugin_MEF3() - plugin for importing read MEF 3.0 data |
2 | 2 | % |
3 | 3 | % Usage: |
4 | | -% >> eegplugin_mffmatlabio(fig, trystrs, catchstrs); |
| 4 | +% >> eegplugin_MEF3(fig, trystrs, catchstrs); |
5 | 5 | % |
6 | 6 | % Inputs: |
7 | 7 | % fig - [integer] eeglab figure. |
8 | 8 | % trystrs - [struct] "try" strings for menu callbacks. |
9 | 9 | % catchstrs - [struct] "catch" strings for menu callbacks. |
10 | 10 | % |
11 | 11 |
|
12 | | -function versionstr = eegplugin_mef3(fig, trystrs, catchstrs) |
| 12 | +function versionstr = eegplugin_MEF3(fig, trystrs, catchstrs) |
13 | 13 |
|
14 | 14 | % retrieve the version |
15 | 15 | try |
16 | 16 | versionstr = fileread('VERSION'); |
17 | 17 | catch |
18 | | - disp('eegplugin_mef3 cannot find the ''VERSION'' file'); |
| 18 | + disp('eegplugin_MEF3 cannot find the ''VERSION'' file'); |
19 | 19 | return |
20 | 20 | end |
21 | 21 |
|
22 | 22 | % check input arguments |
23 | 23 | if nargin < 3 |
24 | | - disp('eegplugin_mef3 requires 3 arguments'); |
| 24 | + disp('eegplugin_MEF3 requires 3 arguments'); |
25 | 25 | return |
26 | 26 | end |
27 | 27 |
|
28 | 28 | % add amica folder to path |
29 | 29 | % ----------------------- |
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); |
33 | 33 | addpath(p); |
34 | 34 | end |
35 | 35 |
|
|
39 | 39 |
|
40 | 40 | % menu callback commands |
41 | 41 | % ---------------------- |
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 ]; |
43 | 43 |
|
44 | 44 | % create menus (CHANGING THESE MENUS AFFECTS THE MAIN eeglab.m FUNCTION) |
45 | 45 | % ------------ |
|
0 commit comments