| Contents | Index |
real_T ssSetInputPortOffsetTime(SimStruct *S, int_T inputPortIdx, real_T offset)
SimStruct representing an S-Function block.
Index of the input port whose offset time is being set.
Offset time.
The real_T value of the offset time passed into the macro.
Use in mdlInitializeSizes (after ssSetNumInputPorts) to specify the sample time offset for each input port index. Input port index numbers start at 0 and end at the total number of input ports minus 1. You can use this macro in conjunction with ssSetInputPortSampleTime if you have specified port-based sample times for your S-function.
C, C++
See the S-function sfun_multirate.c used in sfcndemo_sfun_multirate.mdl.
ssSetNumInputPorts, ssSetInputPortSampleTime

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |