MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuel de service Page 108

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 282
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 281 282

Commentaires sur ces manuels

Pas de commentaire