Code Generation

Configure code-generation settings for S-Function blocks

SimStruct Functions

ssGetDWorkRTWIdentifier Get the identifier used to declare a DWork vector in code generated from the associated S-function
ssGetDWorkRTWIdentifierMustResolveToSignalObject Get a flag indicating if a DWork vector resolves to a Simulink.Signal object
ssGetDWorkRTWStorageClass Get the storage class of a DWork vector in code generated from the associated S-function
ssGetDWorkRTWTypeQualifier Get the C type qualifier (e.g., const) used to declare a DWork vector in code generated from the associated S-function
ssGetPlacementGroup Get the name of the placement group of a block
ssRTWGenIsCodeGen Identify any code generation that is not used by the Accelerator.
ssSetDWorkRTWIdentifier Specify the identifier used to declare a DWork vector in code generated from the associated S-function
ssSetDWorkRTWIdentifierMustResolveToSignalObject Specify if a DWork vector resolves to a Simulink.Signal object
ssSetDWorkRTWStorageClass Specify the storage class of a DWork vector in code generated from the associated S-function
ssSetDWorkRTWTypeQualifier Specify the C type qualifier (e.g., const) used to declare a DWork vector in code generated from the associated S-function
ssSetPlacementGroup Specify the name of the placement group of a block
ssWriteRTW2dMatParam Write a matrix parameter to the model.rtw file
ssWriteRTWMx2dMatParam Write a matrix parameter in MATLAB format to the model.rtw file
ssWriteRTWMxVectParam Write a vector parameter in MATLAB format to the model.rtw file
ssWriteRTWParameters Write tunable parameter information to the model.rtw file
ssWriteRTWParamSettings Write values of nontunable parameters to the model.rtw file
ssWriteRTWScalarParam Write a scalar parameter to the model.rtw file
ssWriteRTWStr Write a string to the model.rtw file
ssWriteRTWStrParam Write a string parameter to the model.rtw file
ssWriteRTWStrVectParam Write a vector of string parameters to the model.rtw file
ssWriteRTWVectParam Write a vector parameter to the model.rtw file
ssWriteRTWWorkVect Write work vectors to the model.rtw file
Was this topic helpful?