Main Content

ssGetInputPortOverWritable

Determine whether an input port can be overwritten

Syntax

int_T ssGetInputPortOverWritable(SimStruct *S, int_T port)

Arguments

S

SimStruct that represents an S-Function block.

port

Index of the input port whose overwritability is being set.

Returns

An int_T (1 or 0) or boolean_T (true or false) value indicating if the input port specified by the index port can be overwritten.

Description

Use to determine if a particular input port can be overwritten. Returns 1 (true) if the input port can be overwritten.

Languages

C, C++

Version History

Introduced before R2006a