Main Content
Simulink.SFunctionBuilder.setTargetLanguage
Set language for S-function generated using S-Function Builder block
Since R2022a
Description
Simulink.SFunctionBuilder.setTargetLanguage(
sets the target language for the S-function generated by the S-Function
Builder block blk
,lang
)blk
to the specified language
lang
.
To specify build options such as whether the MEX file includes debugging information,
use the Simulink.SFunctionBuilder.setBuildOptions
function.
Input Arguments
Version History
Introduced in R2022a