SimBiology sensitivity analysis warning

1 view (last 30 days)
Wendy Qiao
Wendy Qiao on 21 Aug 2018
Edited: Priya Moorthy on 21 Aug 2018
Hi,
I kept getting the following warning message in SimBiology Desktop when I perform a simulation task, "No outputs have been specified for sensitivity analysis. The RuntimeOption.StateToLog in the active configset will be used as default outputs. This default behavior will be deprecated in a future release of SimBiology".
Is the warning message something that I should be worried about? How to I configure the model in SimBiology Desktop to avoid the warning message?
Thank you, W

Answers (1)

Priya Moorthy
Priya Moorthy on 21 Aug 2018
Edited: Priya Moorthy on 21 Aug 2018
Hi, Wendy,
This warning message is one that is usually displayed at the command line if users are simulating a model and have turned on sensitivity analysis without specifying the inputs and outputs in the configuration settings. Usually, we don't expect users working entirely within the desktop to encounter this warning, since the desktop doesn't allow running a sensitivity analysis task without specifying both inputs and outputs.
However, if you have a model that has been imported from or exported to the command line, it is possible to change the configuration settings outside the desktop. The warning you saw suggests that sensitivity analysis has been turned on for the model's default configuration settings. If you export the model from the desktop as m1, you can turn off sensitivity analysis in the configuration settings from the command line:
cs = getconfigset(m1, 'default');
cs.SolverOptions.SensitivityAnalysis = false;
cs.SensitivityAnalysisOptions.Inputs = [];
cs.SensitivityAnalysisOptions.Outputs = [];
Best,
Priya

Communities

More Answers in the  SimBiology Community

Categories

Find more on Perform Sensitivity Analysis 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!