User`s guide

Introduction
1-17
simomex.c
Implements a single output, two input state-space
dynamical system described by these state-space
equations
dx/dt = Ax + Bu
y = Cx + Du
where x is the state vector, u is vector of inputs, a nd
y is the vector of outputs.
stspace.c
Implements a set o f state-space equations. You can
turn this into a new block by using the S-Function
block and mask facility. This example MEX-file
performs the same function as the built-in
State-Space block. This is an example of a MEX -file
where the number of inputs, outputs, and states i s
dependent on the parameters passed in from the
workspace. Use this as a template for other
MEX-file systems.
stvctf.c
Implements a continuous-time transfer function
whose transfer function polynomials are passed in
via the input v ector. This i s useful for continuous
time adaptive control applications.
stvdct.f
Implementsa discrete-time transfer functionwhose
transfer function polynomials are passed in via the
input vector. This is useful for discrete-time
adaptive control applications.
limintc.c
Implements a limited integrator.
vdlmint.c
Implements a discrete-time vectorized limited
integrator.
vlimint.c
Implements a vectorized limited integrator.
Table 1-3: Example C MEX S-Functions (Continued)
Filename Description