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

  • 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 146
The C MEX S-Function SimStruct
3-103
ssSetInputPortOffsetTime
(S,inputPortIdx,offset)
Used in mdlInitializeSizes (a fter
ssSetNumInputPorts)tospecifythesampletimeoffset
for each input port index. You can use this macro in
conjunction with
ssSetInputPortSampleTime if you have
specified port-based sample times for your S-function.
ssSetInputPortOverWritable
(S,inputPortIdx,value)
Used in mdlInitializeSizes (a fter
ssSetNumInputPorts) to specify whether the input port
is overwritable by an output port. The default is
value=0,
which means that the input port does not share memory
with an output port. When
value=1,theinputport
shares memory with an output port.
Note that
ssSetInputPortReusable and
ssSetOutputPortReusable must both be set to 0,
meaning that neither port involved can have global and
persistent memory.
Table 3-7: Input and Output Port Signal SimStruct Macros (Continued)
Macro Description
Vue de la page 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 209 210

Commentaires sur ces manuels

Pas de commentaire