MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS Guide de l'utilisateur Page 161

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 210
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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;
}
Vue de la page 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 209 210

Commentaires sur ces manuels

Pas de commentaire