% This directory contains examples of SIMULINK blocks and models
% written in C and Fortran.  They are implemented as MEX-file
% S-functions.
%
% Templates:
%   sfuntmpl.c       - Basic template file for CMEX S-functions.
%   sfuntmpl.doc     - Full template file for CMEX S-functions.
%
% Example C and Fortran models.
%   simomex.c  	     - simo model, C form.
%   simomexf.f 	     - simo model, Fortran form.
%   vdpmex.c   	     - Van der Pol model, C form.
%   vdpmexf.f  	     - Van der Pol model, Fortran form.
%   mixedmex.c 	     - Mixed continuous/discrete model, C form.
%
% Example C and Fortran blocks.
%   limintc.c  	     - Limited integrator block.
%   dlimintc.c 	     - Discrete-time limited integrator block.
%   vlimintc.c 	     - Vectorized limited integrator.
%   vdlmintc.c 	     - Discrete-time vectorized limited integrator.
%   resetint.c 	     - Reset integrator.
%   stspace.c  	     - State-space block.
%   sfunmem.c  	     - One integration-step delay and hold.
%   usersys.f  	     - Generic model/block, Fortran form.
%   stvctf.c   	     - Time-varying continuous transfer function.
%   stvdtf.c   	     - Time-varying discrete transfer function.
%   stvmgain.c 	     - Time-varying matrix gain.
%   sftable2.c 	     - 2-D lookup table.
%   table3.c   	     - 3-D lookup table.
%   csfunc.c   	     - Continuous-time model.
%   dsfunc.c   	     - Discrete-time model.
%   vsfunc.c   	     - Variable sample-time model.
%   mixedm.c   	     - Mixed continuous/discrete model.
%   timestwo.c 	     - C-file S-function example.
%
% How to S-functions:
%   sfun_dynsize.c   - Dynamically sized S-function
%   sfun_errhdl.c    - Error handling in an S-functions
%   sfun_fcncall.c   - Function-call S-function
%   sfun_multiport.c - Multiple port S-function
%   sfun_zc.c        - Abs value with zero crossings S-function
%   sfun_zc_sat.c    - Saturation with zero crossings S-function
% 
%      
%
% See also the "blocks" directory on MATLAB's search path.
% This area contains M-file versions of some of the above examples.
%
% See the SIMULINK documentation on S-functions and developing C and Fortran 
% blocks and models.
%
% Copyright (c) 1990-1998 by The MathWorks, Inc. All Rights Reserved.
% $Revision: 1.4 $
