Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jesse Heckman
pbtoolbox
Commits
36a30aa6
Commit
36a30aa6
authored
Nov 03, 2018
by
Jesse Heckman
Browse files
update LSL
parent
bb441b90
Changes
1
Hide whitespace changes
Inline
Side-by-side
subtools/lsl/pb_runLSL.m
View file @
36a30aa6
...
...
@@ -54,37 +54,17 @@ function [ses,str] = pb_runLSL(varargin)
end
c
=
1
;
if
de
;
addlistener
(
str
(
c
),
'DataAvailable'
,
@
ev_
listener
);
c
=
c
+
1
;
end
if
pl
;
addlistener
(
str
(
c
),
'DataAvailable'
,
@
pl_
listener
);
c
=
c
+
1
;
end
if
gz
;
addlistener
(
str
(
c
),
'DataAvailable'
,
@
gz_
listener
);
c
=
c
+
1
;
end
if
pd
;
addlistener
(
str
(
c
),
'DataAvailable'
,
@
pd_
listener
);
c
=
c
+
1
;
end
if
ot
;
addlistener
(
str
(
c
),
'DataAvailable'
,
@
ot_
listener
);
end
if
de
;
addlistener
(
str
(
c
),
'DataAvailable'
,
@
listener
);
c
=
c
+
1
;
end
if
pl
;
addlistener
(
str
(
c
),
'DataAvailable'
,
@
listener
);
c
=
c
+
1
;
end
if
gz
;
addlistener
(
str
(
c
),
'DataAvailable'
,
@
listener
);
c
=
c
+
1
;
end
if
pd
;
addlistener
(
str
(
c
),
'DataAvailable'
,
@
listener
);
c
=
c
+
1
;
end
if
ot
;
addlistener
(
str
(
c
),
'DataAvailable'
,
@
listener
);
end
end
function
ev_listener
(
~
,
event
)
%disp('ev_listener called')
function
listener
(
~
,
event
)
%disp(event);
end
function
pl_listener
(
~
,
event
)
%disp('pl_listener called');
%disp(event);
end
function
gz_listener
(
~
,
event
)
%disp('gz_listener called');
%disp(event);
end
function
pd_listener
(
~
,
event
)
%disp('pd_listener called');
%disp(event);
end
function
ot_listener
(
~
,
event
)
%disp('ot_listener called');
%disp(event);
end
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% %
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment