Writing S-Functions | ![]() ![]() |
Specify that an output port is issuing a function call.
Syntax
Arguments
S
SimStruct representing an S-Function block or a Simulink model.
port_index
Index of the port that is issuing the function call.
Description
Use in mdlOutputs
to execute a function-call subsystem connected to the S-function. The invoking syntax is
if (!ssCallSystemWithTid(S,index, tid)) { /* Error occurred which will be reported by Simulink */ return; }
Languages
See Also
![]() | ssCallExternalModeFcn | ssGetAbsTol | ![]() |