These files were made by Dr. Larry Ricker and were modified to simulate the 
disturbances and set point changes described in:
"Self-Optimizing control of a large-scale plant: the Tennessee Eastman process"
 Larsson, T., et al., Ind. Eng. Chem. Res., Vol. 40, pp. 4889-4901, 2001. 
(see Figure 8)
   

Contents of this Zip archive:

temexd.c        C source code for compiling TEMEX mex file.  Compatible with
                MATLAB 6.5 (Release 13).

temexd.dll      Mex file version of temexd.c for use on a Windows machine. 
                It is compatible with MATLAB 6.5 (Release 13).

MultiLoop_Skoge_mode1.mdl   Simulink model of the control strategy 
                described in "Self-Optimizing control of a large-scale plant:
                the Tennessee Eastman process" Larsson, T., et al., Ind. Eng.
                Chem. Res., Vol. 40, pp. 4889-4901, 2001.
                
                It automatically runs "Skoge_Mode1_Init.m" and "teplot.m".

Skoge_Mode1_Init.m   Script file executed automatically at beginning of 
                "MultiLoop_Skoge_mode1.mdl".

Mode1SkogeInit.mat  Contains initial conditions for "MultiLoop_Skoge_model.mdl".
                It is loaded by the script file "Skoge_Mode_1_Init.m", which is 
                executed automatically at the start of each simulation.

teplot.m        Script that plots the results at the end of a simulation.

TElib.mdl       A Simulink library containing two controller blocks. 

More details about these files can be found in Ricker's web site. This is the 
link for the download of the original file:
http://depts.washington.edu/control/LARRY/TE/temex.zip

System Requirements:
Matlab Version 6.5 (Release 13) or higher, with Simulink version 5 or higher.

How to use:

1) Unzip the archive into a new directory.

2) Start MATLAB and make the new directory the default.

3) In the MATLAB command window type "MultiLoop_Skoge_mode1" to bring up a
Simulink window containing the example.

4) Start the simulation.