Enable or disable sensitivity analysis
年代ensitivityAnalysis
is a property of the年代olverOptions
property, which is a property of aconfigset
object. This property lets you compute the time-dependent sensitivities of all the species states defined by the年代tatesToLog
property with respect to theInputs
that you specify in the年代ensitivityAnalysisOptions
property of the configuration set object.
年代imBiology always uses the SUNDIALS solver to perform sensitivity analysis on a model, regardless of what you have selected as the年代olverType
in the configuration set.
Note
Models containing the following active components do not support sensitivity analysis:
Nonconstant compartments
Algebraic rules
Events
For more information on setting up sensitivity analysis, see年代ensitivityAnalysisOptions
. For a description of sensitivity analysis calculations, see年代ensitivity Analysis in SimBiology.
Applies to | Object:年代olverOptions |
Data type | logical |
Data values | 1 ,0 ,true ,false . Default isfalse . |
Access | Read/write |
This example shows how to enable年代ensitivityAnalysis
.
Retrieve theconfigset
object from themodelObj
.
modelObj = sbiomodel('cell'); configsetObj = getconfigset(modelObj);
Enable年代ensitivityAnalysis
.
set(configsetObj.SolverOptions,'SensitivityAnalysis', true); get(configsetObj.SolverOptions,'SensitivityAnalysis') ans = on