Main Content
Simulink.SFunctionBuilder.setBuildOptions
Description
Simulink.SFunctionBuilder.setBuildOptions(
sets build options specified using one or more name-value arguments for the
S-Function Builder block blk
,Name=Value
)blk
. For example, to include
debugging information in the generated MEX file, specify
CreateDebuggableMEX
as true
.
To configure S-function settings such as access to the SimStruct, sample mode, and
sample time, use the Simulink.SFunctionBuilder.setSettings
function.
To specify the language for the S-function, use the Simulink.SFunctionBuilder.setTargetLanguage
function.
Input Arguments
Version History
Introduced in R2022a