ssGetOutputPortSampleTime

Syntax

Arguments

S

SimStruct representing an S-Function block.

outputPortIdx

Index of an output port.

Returns

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

Description

Use in any routine (except mdlInitializeSizes) to determine the
sample time of an output port. You should use this macro only if you have specified
the sample times as port-based. Use ssGetSampleTime to determine the
sample time of S-functions that do not use port-based sample times.

This website uses cookies to improve your user experience, personalize content and ads, and analyze website traffic. By continuing to use this website, you consent to our use of cookies. Please see our Privacy Policy to learn more about cookies and how to change your settings.