Skip to content

Commit fbc24a0

Browse files
committed
change so that proc_commander() accepts only one input 'process.loaddir', without needing a 'config' input
1 parent 83fde59 commit fbc24a0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

functions/procfunc/proc_commander.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@
5555
function EEG = proc_commander(process, config)
5656

5757
if nargin<2,
58-
disp('Insufficient number of arguments to proc_commander.');
59-
return
58+
%disp('Insufficient number of arguments to proc_commander.');
59+
%return
60+
P = process;
61+
C(1).userinput = ' disp(''proc_commander(); no configuration script defined, proceeding without one...'');';
6062
else,
6163
P = process; clear process
6264
C = config ;

0 commit comments

Comments
 (0)