Skip to content
GitLab
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
f2c9fa74
Commit
f2c9fa74
authored
Oct 24, 2018
by
Jesse Heckman
Browse files
fixed Data struct
parent
6a99d7e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
setups/vestibular chair/vPrime/core/pb_vRunExp.m
View file @
f2c9fa74
...
...
@@ -24,7 +24,7 @@ function pb_vRunExp(handles)
% set block information
block
=
handles
.
block
;
nblocks
=
handles
.
cfg
.
Blocks
;
Dat
(
nblocks
)
=
struct
(
'
vestibular_signals
'
,[],
'EV'
,[],
'PL'
,[],
'OT'
,[],
'LSL'
,[]);
Dat
(
nblocks
)
=
struct
(
'
VS
'
,[],
'EV'
,[],
'PL'
,[],
'OT'
,[],
'LSL'
,[]);
% initialize recordings
rc
=
pb_runPupil
;
...
...
@@ -42,8 +42,8 @@ function pb_vRunExp(handles)
handles
=
updateCount
(
handles
,
'trial'
,
'reset'
);
% store signal data
[
sig
,
profile
,
dur
]
=
pb_vSignalVC
(
handles
);
% reads, checks, creates & plots vestibular signals
Dat
(
iBlck
)
.
vestibular_signals
=
sig
;
[
sig
,
profile
,
dur
]
=
pb_vSignalVC
(
handles
);
% reads, checks, creates & plots vestibular signals
Dat
(
iBlck
)
.
VS
=
sig
;
% start recording
pb_startLSL
(
ses
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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