Main Content

Uncertainty Analysis with Simulink Models

Simulate uncertainty effects, compute stability margins

Robust Control Toolbox™ software provides tools to model uncertain dynamics in Simulink®. Using these tools, you can analyze how the uncertainty impacts the time-domain and frequency-domain behavior of a system modeled in Simulink.


ufindFind uncertain variables in Simulink model
ulinearizeLinearize Simulink model with Uncertain State Space block
usampleGenerate random samples of uncertain variables in a Simulink model
diskmarginDisk-based stability margins of feedback loops


Uncertain State SpaceSimulate uncertain system in Simulink
MultiPlot GraphPlot results of multiple simulations


Analyzing Uncertainty in Simulink

Robust Control Toolbox software lets you model and analyze uncertain dynamics in Simulink.

Specify Uncertainty Using Uncertain State Space Blocks

Use the Uncertain State Space block to represent uncertain elements in a Simulink model.

Simulate Uncertainty Effects

Simulate uncertain systems using nominal values or samples within the uncertainty range.

Simulate Uncertain Model at Sampled Parameter Values

This example shows how to simulate an uncertain model in Simulink® using the Uncertain State Space block.

Vary Uncertain Values Across Multiple Uncertain Blocks

For models with a large number of uncertain variables or multiple Uncertain State Space blocks, you can vary multiple uncertainty values simultaneously.

Stability Margins of a Simulink Model

Compute classical and disk-based gain and phase margins of a control loop modeled in Simulink.

Featured Examples