ssSetOptions - Specify S-function options
Syntax
void ssSetOptions(SimStruct *S, uint_T options)
Arguments
- S
SimStruct representing an S-Function block.
- options
Options.
Description
Use in mdlInitializeSizes to specify S-function
options. The options must be joined using the OR operator.
For example:
ssSetOptions(S, (SS_OPTION_EXCEPTION_FREE_CODE |
SS_OPTION_DISCRETE_VALUED_OUTPUT));
See S-Function Options — Alphabetical List for a description
of the available options.
Languages
C, C++
Example
See the S-function matlabroot/toolbox/simulink/simdemos/simfeatures/src/sdotproduct.c used
in sfcndemo_sdotproduct.mdl.
See Also
mdlInitializeSizes
 | ssSetOneBasedIndexOutputPort | | ssSetOutputPortComplexSignal |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit