diff --git a/ICsolvers/N803_single.m b/ICsolvers/N803_single.m index 5b1052e..9740007 100644 --- a/ICsolvers/N803_single.m +++ b/ICsolvers/N803_single.m @@ -1,7 +1,7 @@ %% N803_single.m - solves model for 1 cohort % % /--------------------------------------------------------------\ -% | Date: 06/27/2022 | +% | Date: 06/29/2022 | % | Author: Jonathan Cody | % | Affiliation: Purdue University | % | Weldon School of Biomedical Engineering | @@ -33,7 +33,10 @@ % OPTIONS % ======================================================================== % -% varargin = cell vector used to add optional inputs (see 'N803_model_2') +% All additional inputs will be passed as a cell vector to 'N803_model_2' +% and used to define options (see function for list) +% EX: N803_single(SoluTimes,DoseTimes,AllPars,'AbsTol',1e-2} +% will set ode solver absolute tolerance to 1e-2 % %% ======================================================================== % OUTPUTS @@ -188,7 +191,7 @@ Yic = [ Vi E0 E B0 B 0 0 1 1 ] ; if any( [ Yic aE0 aB0 p0 gE0 gB0 sE sB ] < 0 ) - error('Negative parameters or initial values.') + error('Negative parameters or initial values.') end Y_OUT = N803_model_2(SoluTimes,DoseTimes,Pars,Yic,varargin) ;