MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS Guida Utente Pagina 23

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 210
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 22
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
Vedere la pagina 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 209 210

Commenti su questo manuale

Nessun commento