%% 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(R) 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(R) executes the actions CoolOn and
% HumidOn.
%

% Copyright 2007 The MathWorks, Inc.

mdl = 'sf_climate_control';
open_system(mdl);
close_system([mdl,'/temperatureScope']);
close_system([mdl,'/HumidityScope']);
%set_param(mdl, 'StopTime', '10000');
%evalc('sim(mdl)');
