| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimBiology |
| Contents | Index |
| Learn more about SimBiology |
The InitialAmount property indicates the initial quantity of the SimBiology species object. InitialAmount is the quantity of the species before the simulation starts.
| Applies to | Object: species |
| Data type | double |
| Data values | Positive real number. Default value is 0. |
| Access | Read/write |
Add a species to a model and set the initial amount of the species.
Create a model object named my_model.
modelObj = sbiomodel ('my_model');Add the species object named glucose.
speciesObj = addspecies (modelObj, 'glucose');
Set the initial amount to 100 and verify.
set (speciesObj, 'InitialAmount',100); get (speciesObj, 'InitialAmount')
MATLAB returns:
ans = 100
addspecies, InitialAmountUnits
![]() | IndependentVarLabel | InitialAmountUnits | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |