Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ssGetInputPortOffsetTime

Get the offset time of an input port

Syntax

real_T ssGetInputPortOffsetTime(SimStruct *S, int_T inputPortIdx)

Arguments

S

SimStruct representing an S-Function block.

inputPortIdx

Index of the port whose offset time is required.

Returns

A real_T value indicating the offset time of the input port specified by the index inputPortIdx.

Description

Use in any routine (except mdlInitializeSizes) to determine the offset time of an input port. Use ssGetInputPortOffsetTime only if you have specified the sample times as port-based.

Languages

C, C++

Introduced before R2006a

Was this topic helpful?