This code is what was presented for the Australian AgTech Webinar on 16th March 2021. It showcases how to stack together objects to create a world in which plants grow, herbivores eat and are eaten by carnivores. The key is that this object approach and the world framework is flexible and extensible. For example, the system can be adapted to model fishing fleets and fish populations, or harvest strategies for logging operations.
To Run:
- Open the MATLAB® Project prj file and use the project shorcuts:
- "Grass Lives Forever" for a simple development version where the grass lives forever
- "Grass is Finite but Regrows" for the final version where the grass is consumed and takes time to regrow
MathWorks Products (https://www.mathworks.com)
This demonstration was developed in R2021a but should be quite backward compatible. The following are recommended products as simulations such as this are often placed into a much larger Monte Carlo framework.
The license for this population modelling code is available in the LICENSE.TXT file in this repository.
Copyright © 2021 - 2023 The MathWorks, Inc.