Contenido principal

ssFxpGetU32BitRegionCompliant

Determine whether S-function is compliant with the U32 bit region interface

The ssFxpGetU32BitRegionCompliant function can be ignored. This function no longer has any impact on the memory layout for inputs and outputs. The memory layout introduced in R2008a is always used.

Syntax

extern ssFxpSGetU32BitRegionCompliant(SimStruct *S,
                            int *result)

Arguments

S

SimStruct representing an S-function block.

result
  • 1 if S-function calls ssFxpSetU32BitRegionCompliant to declare compliance with memory footprint for fixed-point data types with 33 or more bits

  • 0 if S-function does not call ssFxpSetU32BitRegionCompliant

Description

Requirements

  • To use this function, you must include fixedpoint.h and fixedpoint.c. For more information, see Structure of the S-Function.

  • To build an S-function that utilizes this function, you must compile it using the mex function with -lfixedpoint argument. For more information, see Create MEX Files.

Languages

C

Version History

Introduced in R2009a