ssSetSimulinkFunctionArgComplexity
Declare complexity of a Simulink Function argument.
Syntax
void ssSetSimulinkFunctionArgComplexity(SimStruct *S, char *scopedFcnName, char *argName, int_T val)
Arguments
SSimStruct that represents an S-Function block.
scopedFcnNameName of a Simulink Function.
argNameName of a Simulink Function input or output argument.
valEither an
int_T(1or0) orboolean_T(trueorfalse) value.
Returns
No return value.
Description
ssSetSimulinkFunctionArgComplexity(S, "timestwo", "u", false);
Languages
C, C++
Examples
The model sfcndemo_simulinkfunction_getset is an S-function
example that models an object with get and set methods using two scoped Simulink
Functions.
See Also
ssCallSimulinkFunction, ssDeclareFunctionCaller, ssDeclareSimulinkFunction, ssGetSimulinkFunctionInput, ssGetSimulinkFunctionOutput, ssQuerySimulinkFunction, ssSetSimulinkFunctionArgDataType, ssSetSimulinkFunctionArgDimensions
Version History
Introduced in R2018a