The functions allow users to simulate SBML Models.
Function are:
Takes
Returns
EXAMPLE:
Using the model from toolbox/Test/test-data/algebraicRules.xml
analysis = AnalyseSpecies(m)
analysis =
1x5 struct array with fields:
Name
constant
boundaryCondition
initialValue
hasAmountOnly
isConcentration
compartment
ChangedByReaction
KineticLaw
ChangedByRateRule
RateRule
ChangedByAssignmentRule
AssignmentRule
InAlgebraicRule
AlgebraicRule
ConvertedToAssignRule
ConvertedRule
analysis(1) =
Name: {'S1'}
constant: 0
boundaryCondition: 0
initialValue: 0.0300
hasAmountOnly: 0
isConcentration: 0
compartment: 'compartment'
ChangedByReaction: 1
KineticLaw: {' - (k*S1)'}
ChangedByRateRule: 0
RateRule: ''
ChangedByAssignmentRule: 0
AssignmentRule: ''
InAlgebraicRule: 1
AlgebraicRule: {{1x1 cell}}
ConvertedToAssignRule: 0
ConvertedRule: ''
Takes
Returns
EXAMPLE:
Using the model from toolbox/Test/test-data/algebraicRules.xml
analysis = AnalyseVaryingParameters(m)
analysis =
Name: {'s2'}
initialValue: 4
ChangedByRateRule: 0
RateRule: ''
ChangedByAssignmentRule: 0
AssignmentRule: ''
InAlgebraicRule: 1
AlgebraicRule: {{1x1 cell}}
ConvertedToAssignRule: 1
ConvertedRule: '-(-S2-S3)'
Takes
Returns
EXAMPLE:
elements = DealWithPiecewise('piecewise(le(s2,4),1.5,0.05)')
= 'le(s2,4)' '1.5' '0.05'
NOTE: The function cannot deal with a piecewise statement with more than three elements.
Takes
Returns
EXAMPLE:
elements = GetArgumentsFromLambdaFunction('lambda(x, x+0.5)')
= 'x' 'x+0.5'
elements = GetArgumentsFromLambdaFunction('lambda(x, y, x + y)')
= 'x' 'y' 'x+y'
NOTE: This function is deprecated. Use SolveODEFunction instead.
Takes
Returns
Outputs
NOTE: the results are generated using ode45 solver (MATLAB) or lsode (Octave)
Takes
Outputs
NOTE: This function is called from WriteODEFunction when a model with events is encountered.
Takes
Outputs
NOTE: This function is called from WriteODEFunction when a model with events is encountered.
Takes
Outputs