Main Content

Home Climate Control Using the Truth-Table Block

This example shows how to use the truth table block to control the temperature and humidity using a climate control system. The truth table block defines two possible boolean variables, Hot and Dry. Stateflow® sets these states if input variables reach defined temperature and humidity thresholds. The different state combinations result in different actions. For example, if both Hot and Dry are true, Stateflow executes the actions CoolOn and HumidOn.

See Also

Related Topics