Main Content

Simulate Uncertainty Effects

How to Simulate Effects of Uncertainty

As described inSpecify Uncertainty Using Uncertain State Space Blocks, the uncertain state-space model you specify in theUncertain State Spaceblock depends on a set of uncertain variables (ureal,umargin, orultidynobjects.) 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, seeHow to Vary Uncertainty Values. You can view and compare the simulation results for various sample values of uncertainty using theMultiPlot Graphblock.

How to Vary Uncertainty Values

There are two ways to control the uncertainty values using theUncertainty value (struct or[]to use nominal value)field of theUncertain State Spaceblock parameters dialog box: