| Contents | Index |
extern ssFxpSGetU32BitRegionCompliant(SimStruct *S,
int *result)
SimStruct representing an S-function block.
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
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);
Note The Simulink Fixed Point software assumes that S-functions that use fixed-point data types with 33 or more bits without calling ssFxpSetU32BitRegionCompliant are using the obsolete memory footprint that existed until R2007b. Either redesign these S-functions or isolate them using the library fixpt_legacy_sfun_support.mdl. |
.
To use this function, you must include fixedpoint.h and fixedpoint.c. For more information, see Structure of the S-Function.
C

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 |