| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimBiology |
| Contents | Index |
| Learn more about SimBiology |
The Parameters property indicates the parameters in a Model or KineticLaw object. Read-only array of Parameter objects. Display with modelObj.Parameters or get(modelObj, 'Parameters').
The scope of a parameter object is hierarchical and is defined by the parameter's parent. If a parameter is defined with a kinetic law object as its parent, then only the kinetic law object can use the parameter. If a parameter object is defined with a model object as its parent, then components such as rules, events, and kinetic laws (reaction rate equations) can use the parameter.
You can add a parameter to a model object, or kinetic law object with the method addparameter and delete it with the method delete.
You can view parameter object properties with the get command and configure properties with the set command.
| Applies to | Objects: model, kineticlaw |
| Data type | Array of parameter objects |
| Data values | Parameter objects. Default value is [] (empty). |
| Access | Read-only |
Create a model object, and then add a reaction object.
modelObj = sbiomodel ('my_model');
reactionObj = addreaction (modelObj, 'a + b -> c + d');Define a kinetic law for the reaction object.
kineticlawObj = addkineticlaw(reactionObj, 'MassAction');
Add a parameter and assign it to the kinetic law object (kineticlawObj);.
parameterObj1 = addparameter (kineticlawObj, 'K1'); get (kineticlawObj, 'Parameters')
SimBiology Parameter Array Index: Name: Value: ValueUnits: 1 K1 1
Add a parameter and assign it to the model object (modelObj);.
parameterObj1 = addparameter(modelObj, 'K2'); get(modelObj, 'Parameters') SimBiology Parameter Array Index: Name: Value: ValueUnits: 1 K2 1
addparameter, delete, get, sbioparameter, set
![]() | ParameterInputFactors | ParameterVariableNames | ![]() |

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 |