Clear Filters
Clear Filters

initial assignment and repeated assignment problem

6 views (last 30 days)
How I know that when I need to use initial assignment and repeated assignment ? And what is the purpose of those two tools ? thank you !

Accepted Answer

emjey on 19 Jul 2023
Edited: emjey on 19 Jul 2023
The initial assignments are used to assign initial values of a species, e.g. tumour size, inital concentrations of the species in your model. But also to calculate a model parameter at the begining of the simulation, e.g. baseline tumour volume given inital tumour cell number.
A repeated assignment could be used to update a parameter one would create to express an outcome of your model which is not a specie. Examples are: the volume of the tumour (calculated based on growing/shrinking tumour cell number), total sum of certain cells in your model, i.e. all immune cells, at any time point.
For detailed overview, see assignments in SimBiology

More Answers (0)


More Answers in the  SimBiology Community


Find more on Extend Modeling Environment in Help Center and File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!