Writing S-Functions | ![]() ![]() |
Specify the vector mode that an S-function supports.
Syntax
v
oid ssSetVectorMode(SimStruct *S, ssVectorMode mode)
Arguments
S
SimStruct representing an S-function block.
Description
Specifies the types of vector-like signals that an S-function block's input and output ports support. Simulink uses this information during signal dimension propagation to check the validity of signals connected to the block or emitted by the block. The enumerate type, ssVectorMode
, defines the set of values that mode
can have.
Languages
Example
See simulink/src/sfun_bitop.c
for examples that use this macro.
![]() | ssSetUserData | ssUpdateAllTunableParamsAsRunTimeParams | ![]() |