Get a pointer to an input argument passed to a Simulink Function.
real_T ssGetSimulinkFunctionInput(ssFcnCallExecArg execArgs, int_T inArgIdx)
execArgs
Information for arguments.
inArgIdx
Index of input argument.
Pointer to input argument.
#define U0 (*(real_T*)ssGetSimulinkFunctionInput(args,0))
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
, ssGetSimulinkFunctionOutput
, ssQuerySimulinkFunction
, ssSetSimulinkFunctionArgComplexity
, ssSetSimulinkFunctionArgDataType
, ssSetSimulinkFunctionArgDimensions