MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuale di Servizio Pagina 108

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 107
3
Writing Target Language Files
3-34
void
MdlOutputs(tid)
{
/* S-Function block: foo */
{
Simstruct *s = ssGetSFunction(S, 0);
real_T *sfcnU = ssGetU(s);
real_T *sfcnX = ssGetX(s);
real_T *sfcnY = ssGetY(s);
sfcnOutputs(sfcnY, sfcnX, sfcnU, s, tid);
}
}
void
MdlUpdate(tid)
{
/* S-Function block: foo */
{
Simstruct *s = ssGetSFunction(S, 0);
real_T *sfcnX = ssGetX(s);
real_T *sfcnU = ssGetU(s);
sfcnUpdate(sfcnX, sfcnU, s, tid);
}
}
Unnecessary call to
empty function
mdlUpdate in foogain.c.
Vedere la pagina 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 281 282

Commenti su questo manuale

Nessun commento