| Contents | Index |
extern int ssGetDataTypeNumberOfChunks(SimStruct *S,
DTypeId dataTypeId)
SimStruct representing an S-function block.
Data type ID of the registered data type for which you want to know the number of chunks in its multiword storage container.
This function returns the number of chunks in the multiword storage container of the fixed-point data type designated by dataTypeId. This function is valid only for a registered data type whose storage container uses a multiword representation. You can use the ssGetDataTypeStorageContainCat function to identify the storage container category; for multiword storage containers, the function returns the category FXP_STORAGE_MULTIWORD.
To use this function, you must include fixedpoint.h and fixedpoint.c. For more information, see Structure of the S-Function.
C
ssGetDataTypeStorageContainCat

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 |