MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS Guia do Utilizador Página 144

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 210
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 209 210

Comentários a estes Manuais

Sem comentários