Contents

ssGetOutputPortOffsetTime

Get the offset time of an output port

Syntax

real_T ssGetOutputPortOffsetTime(SimStruct *S,
 int_T outputPortIdx)

Arguments

S

SimStruct representing an S-function block.

outputPortIdx

Index of an output port.

Returns

A real_T value indicating the offset time of the output port specified by the index outputPortIdx.

Description

Use in any routine (except mdlInitializeSizes) to determine the offset time of an output port. This macro should only be used if you have specified port-based sample times.

Languages

C, C++

Was this topic helpful?