I am currently trying to run the TEP (Downs and Vogel) simulation by Ricker using MATLAB 2012a 64bit. The simulation can be found in the following link: http://depts.washington.edu/control/LARRY/TE/download.html. I tried to run te_test.mdl to test the code following the README file provided, but I keep getting this error message 'Error in S-function 'te_test/TE Code': S-Function 'temex' does not exist'. I have check my MATLAB path, I have temex.c and temex.mex files on the path. I am not sure where to go from here. I will appreciate any suggestions on this.