Specify S-function options
void ssSetOptions(SimStruct *S, uint_T options)
S
SimStruct representing an S-Function block.
options
Options. See S-Function Options for available options.
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));
Each S-function sets its applicable options at the end of its
mdlInitializeSizes
method.
The following options are available through
ssSetOptions
:
C, C++
See the S-function sdotproduct.c
used in sfcndemo_sdotproduct
.