Commit 204e74b9 authored by Jesse Heckman's avatar Jesse Heckman
Browse files

check

parent 8d9ceeb1
......@@ -47,14 +47,17 @@ function pb_vEndExp(cfg)
n = 5;
s = ledpattern(n);
seq1 = [0:2:9 fliplr(16:2:24)];
seq2 = [1:2:9 fliplr(17:2:24)];
ir=50;
ig=ir;
for i=1:n
if mod(i,2) == 0
s(i).set(0:2:19,'r');
s(i).set(seq1,'r');
else
s(i).set(1:2:19,'g');
s(i).set(seq2,'g');
end
s(i).intensity('r', ir);
s(i).intensity('g', ig);
......
function array = pb_lookup(array, varargin)
function [ID,az,el] = pb_lookup(array, varargin)
% PB_LOOKUP(array,varargin)
%
% PB_LOOKUP() converts array using a lookup table. For instance, when
......@@ -9,7 +9,8 @@ function array = pb_lookup(array, varargin)
% PBToolbox (2018): JJH: j.heckman@donders.ru.nl
fn = pb_keyval('fn',varargin,[]); [~,sheets] = xlsfinfo(fn);
VC = [pb_userpath 'setups/vestibular chair/vPrime/lookup/vPrime Measurement.xlsx'];
fn = pb_keyval('fn',varargin,VC); [~,sheets] = xlsfinfo(fn);
sheet = pb_keyval('sheet',varargin,sheets{end});
if nargin == 0; return; end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment