Commit 3eed60a5 authored by Ruurd Lof's avatar Ruurd Lof

Bugfix ITD = 0

parent 46a0d0e9
......@@ -258,6 +258,7 @@ classdef biox_rz6_tasklist < handle
validSound = @(x) any(validatestring(x, expectedSounds));
validFreq = @(x) validateattributes(x,{'numeric'},{'scalar','nonnegative'});
validITD = @(x) validateattributes(x,{'numeric'},{'scalar','nonnegative'});
validPosNum = @(x) validateattributes(x,{'numeric'},{'scalar','positive'});
valid01 = @(x) validateattributes(x,{'numeric'},{'scalar','>=',0,'<=',1});
validStartPhase = @(x) validateattributes(x,{'numeric'},{'scalar','>=',-180,'<=',180});
......@@ -315,7 +316,7 @@ classdef biox_rz6_tasklist < handle
p.addRequired('HpFreq', validFreq);
p.addRequired('LpFreq', validFreq);
p.addOptional('ComSrc', 'SepSrc', validComSrc);
p.addOptional('ITD' , 0, validPosNum);
p.addOptional('ITD' , 0, validITD);
p.parse(varargin{:});
HpFreq = p.Results.HpFreq;
LpFreq = p.Results.LpFreq;
......
Markdown is supported
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