Main Content

Simulate Uncertainty Effects

How to Simulate Effects of Uncertainty

As described in Specify Uncertainty Using Uncertain State Space Blocks, the uncertain state-space model you specify in the Uncertain State Space block depends on a set of uncertain variables (ureal, umargin, or ultidyn objects.) You can simulate the model using nominal value of these uncertain variables. Additionally, you can sample these uncertain variables and simulate the model for various values in the uncertainty range (Monte Carlo simulation.) For more information, see How to Vary Uncertainty Values. You can view and compare the simulation results for various sample values of uncertainty using the MultiPlot Graph block.

How to Vary Uncertainty Values

There are two ways to control the uncertainty values using the Uncertainty value (struct or [] to use nominal value) field of the Uncertain State Space block parameters dialog box: