Download Gauges Blockset User`s Guide

Transcript
2
Using Gauges in a Model
4
Change the PortionValue parameter while watching which portion on the block
changes in size:
PortionID
Portion on Block
0
Red portion
1
Yellow portion
2
Magenta portion
3
Green portion
For more information about ID properties, see “Understanding ID Properties” on page
2-8.
Configuration of the Dynamic Pie Block
In the model, a vector containing the four constant values is the input to the Dynamic
Pie block. While the simulation is running, an S-function called gauges_pie_sfun.m
uses the vector to make the Dynamic Pie block reflect the constant values. While the
behavior of the S-function is discussed below (“How the S-Function Updates the Pie” on
page 2-29), this section describes how the Dynamic Pie block is linked with the Sfunction.
2-26