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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 210
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 160
The C MEX S-Function SimStruct
3-117
Table 3-12: Function-Call SimStruct Macros
Macro Description
ssSetCallSystemOutput
(S,index)
Used in mdlInitializeSampleTimes to specify that the a the
specified output port ele ment
index is issuing a function call by
using
ssCallSystemWithTid(S,index,tid).Theindex
specified starts at 0 and must be less than
ssGetOutputPortWidth(S,0).
ssCallSystemWithTid
(S,index,tid)
Used in mdlOutputs to execute a function-call subsystem
connected to the S-function. T he invoking syntax is:
if (!ssCallSystemWithTid(S,index, tid)) {
/* Error occurred which will be reported by
Simulink */
return;
}
Vedere la pagina 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 209 210

Commenti su questo manuale

Nessun commento