ssSetOptions
Specify S-function options
Syntax
void ssSetOptions(SimStruct *S, uint_T options)
Arguments
-
S
-
SimStruct representing an S-Function block.
-
options
-
Options. SeeS-Function Optionsfor available options.
Description
Use inmdlInitializeSizes
to specify S-function options.
The options must be joined using theOR
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 itsmdlInitializeSizes
method.
S-Function Options
The following options are available throughssSetOptions
:
Languages
C, C++
Example
See the S-functionsdotproduct.c
used insfcndemo_sdotproduct
.
See Also
Introduced before R2006a