System Requirements:
The only software requirement for running this code is an installation of MATLAB (The MathWorks Inc., Natick, MA).
MATLAB software has some hardware requirements, details of which can be found at https://uk.mathworks.com/support/requirements/previous-releases.html.
Simulations for this study were run using MATLAB version R2019a. The code has also been tested on newer MATLAB versions without issue. No testing has been conducted for older versions of MATLAB, however as the code is based on standard functions no issues are anticipated.
Installation Guide:
The MATLAB code associated with this study does not require installation. Code files can simply be opened in MATLAB and run.
Instructions for Use:
Sample output files for the deterministic and stochastic versions of these scripts are included within this repository. These files are named ‘sample-det.mat’ and ‘sample-stoch.mat’. Note that sample-stoch.mat contains the output for just one of 1000 simulations. To reduce storage space a figure is plotted as the code runs and data for each new simulation overwrites that of the previous one.
The scripts provided include the parameterisation used within this study and so scripts can be run as is. If the user wishes to run these scripts for alternative parameter sets, the parameter values at the top of the scripts can be altered and the code run immediately.
Typical runtime on a standard computer (MacBook Air, 2017, 2.2 GHz Dual-Core Intel Core i7 Processor, 8 GB 1600MHz DDR3 Memory) using MATLAB version R2022a are approximately 8 seconds for the deterministic version and 126 seconds for the stochastic version (completing 1000 stochastic simulations).