Simulink.SFunctionBuilder.setSettings
Description
Simulink.SFunctionBuilder.setSettings(
sets the settings specified using one or more name-value arguments for the S-Function
Builder block blk
,Name=Value
)blk
. Use the
Simulink.SFunctionBuilder.setSettings
function to configure:
The array layout for your code
The sample mode for the S-function
The sample time for the S-function
The number of pointers used in the S-function code
Whether to make the SimStruct available to the S-Function Builder wrapper functions
Support for direct feedthrough.
To configure the build options for the S-Function Builder block, use the
Simulink.SFunctionBuilder.setBuildOptions
function.
To specify a name for the S-function, use the Simulink.SFunctionBuilder.setSFunctionName
function.
To specify the language for the S-function, use the Simulink.SFunctionBuilder.setTargetLanguage
function.
Input Arguments
Version History
Introduced in R2022a