Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Contents

ssGetInputPortOverWritable

Determine whether an input port can be overwritten

Syntax

int_T ssGetInputPortOverWritable(SimStruct *S, int_T port)

Arguments

S

SimStruct representing 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++

Was this topic helpful?