Skip to Main Content Skip to Search
Product Documentation

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 sdotproduct.c used in sfcndemo_sdotproduct.mdl.

See Also

mdlInitializeSizes

  


Related Products & Applications

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