To evaluate your model and to test edge conditions, change the block parameters as your model is running. Change block parameters via the block parameter dialog box, Dashboard blocks, and MATLAB language. You can create tunable global parameters by using MATLAB variables as value expressions.
In the normal and accelerator modes, parameter changes propagate to the Simulink® model. In external mode, the changes propagate to the real-time application.
Tunable Block Parameters and Tunable Global Parameters
Change block parameter values during real-time execution.
Water Tank Model with Dashboard
This example shows a real-time model of a water tank controlled by dashboard controls.