Skip to Main Content Skip to Search
Product Documentation

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

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

This function checks whether the S-function calls ssFxpSetU32BitRegionCompliant to declare compliance with the memory footprint for fixed-point data types with 33 or more bits. Before calling any other Simulink Fixed Point API function on data with 33 or more bits, you must call ssFxpSetU32BitRegionCompliant as follows:

ssFxpSetU32BitRegionCompliant(S,1);

.

Requirement

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

Languages

C

See Also

ssFxpSetU32BitRegionCompliant

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS