Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Solutions Academia Support User Community Company
spacer spacer spacer spacer spacer spacer

 

Gauges Blockset 2.0.5

Pie Chart/Custom S-Function

This example model enables you to control four portions of a pie chart independently using four sources. The model uses the Dynamic Pie block. Internally, the model uses an M-file S-function to drive the Dynamic Pie block.

To open this example, enter gauges_pie in the MATLAB® Command Window. Change the values of the Constant blocks to alter the composition of the pie chart. Note that because Constant is a source block, the simulation will pause while the block dialog box is open. You must close the dialog by clicking OK, which will resume the simulation and allow you to see the result of your changes.

Contact sales
Trial software
E-mail this page

Get Pricing and
Licensing Options