ssSetSimulinkFunctionArgComplexity
Declare complexity of a Simulink Function argument.
Syntax
void ssSetSimulinkFunctionArgComplexity(SimStruct *S, char *scopedFcnName, char *argName, int_T val)
Arguments
S
SimStruct that represents 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
or0
) orboolean_T
(true
orfalse
) 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