Declare complexity of a Simulink Function argument.
void ssSetSimulinkFunctionArgComplexity(SimStruct *S, char *scopedFcnName, char *argName, int_T val)
S
SimStruct representing an S-Function block.
scopedFcnName
Name of a Simulink Function.
argName
Name of a Simulink Function input or output argument.
val
Either an int_T
(1
or
0
) or boolean_T
(true
or false
) value.
No return value.
ssSetSimulinkFunctionArgComplexity(S, "timestwo", "u", false);
C, C++
The model sfcndemo_simulinkfunction_getset
is an S-function
example that models an object with get and set methods using two scoped Simulink
Functions.
ssCallSimulinkFunction
, ssDeclareFunctionCaller
, ssDeclareSimulinkFunction
, ssGetSimulinkFunctionInput
, ssGetSimulinkFunctionOutput
, ssQuerySimulinkFunction
, ssSetSimulinkFunctionArgDataType
, ssSetSimulinkFunctionArgDimensions