ssGetOutputPortOffsetTime
输出端口的补偿时间
语法
real_T ssGetOutputPortOffsetTime (SimStruct * S, int_T outputPortIdx)
参数
-
年代
-
SimStruct代表一个功能块。
-
outputPortIdx
-
指数的一个输出端口。
返回
一个real_T
值指示的偏移时间输出端口指定的索引outputPortIdx
。
描述
在任何常规(除了使用mdlInitializeSizes
)确定偏移量输出端口。这个宏只应使用如果你有指定的出口样品时间。
语言
C, c++
例子
看到这个功能sfun_multirate.c
中使用的sfcndemo_sfun_multirate
。
版本历史
之前介绍过的R2006a