This example shows how to use a subsystem made of Dashboard blocks to tune the value of the
Desired relative slip for the Modeling an Anti-Lock Braking System example. You can use the Slider block or the Edit block to change the value of the
Desired relative slip and observe the results during simulation on the Dashboard Scope block.
This model uses a Subsystem block to gather the controls and displays for the model in a single interface. To create the subsystem for this model:
1. Add a Subsystem block to the
2. Delete the pre-populated contents of the subsystem. A subsystem of Dashboard blocks does not need Inport or Outport blocks because Dashboard blocks do not use ports to make connections.
3. Add the components of the dashboard.
The dashboard for this model includes an Edit block and a Slider block that both control the value of the
Desired relative slip input. The Dashboard Scope block displays the resulting slip value,
slp throughout the simulation.
You can use areas in the subsystem to group and label related controls and displays. For more information about creating areas, see Box and Label Areas of a Model.
You can use the Dashboard subsystem as a convenient interface to configure separate simulations that use different values for the
Desired relative slip.
The Slider block and the Edit block both change the value of the
Desired relative slip input. Use the Slider block to fine tune the value of the relative slip input, and use the Edit block to enter an exact value.