Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 character vector to the model.rtw file
ssWriteRTWStrParam Write a character vector parameter to the model.rtw file
ssWriteRTWStrVectParam Write a vector of character vector 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

Topics

S-Function Callback Methods

Description of S-function callback methods

S-Function SimStruct Functions

Overview of SimStruct macros and functions.

Was this topic helpful?