MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS Podręcznik Użytkownika Strona 161

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 210
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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;
}
Przeglądanie stron 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 209 210

Komentarze do niniejszej Instrukcji

Brak uwag