MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manual de Serviço Página 108

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 282
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 281 282

Comentários a estes Manuais

Sem comentários