MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS Guide de l'utilisateur Page 144

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 210
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 143
3 Writing S-Functions As C-MEX files
3-100
ssSetOptions
(S,options)
(continued)
SS_OPTION_ASYNCHRONOUS This option applies onlyto S-functions
that have 0 or 1 input ports and 1 output port. The output p ort
must be configured to perform function call s on every element. If
any of thes e requirements are no t met, the
SS_OPTION_ASYNCHRONOUS is ignored. Use this option when d riving
function-call subs yste ms that will be attached to interrupt service
routines.
SS_OPTION_ASYNC_RATE_TRANSITION —Usethiswhenyour
S-function converts a signal from one rate to another r ate.
SS_OPTION_RATE_TRANSITION Use this option when your
S-function is behaving as a unit delay or a ZOH. This macro
support these two operations only. It identifies a unit delay by the
presence of
mdlUpdate;ifmdlUpdate is absent, the operation is
taken to be ZOH.
Table 3-5: General SimStruct Macros (Continued)
Macro Description
Vue de la page 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 209 210

Commentaires sur ces manuels

Pas de commentaire