Main Content
Simulink.SFunctionBuilder.setUserCode
Set code for methods of S-function generated using S-Function Builder block
Since R2022a
Description
Simulink.SFunctionBuilder.setUserCode(
specifies the code blk
,methodType
,userCode
)userCode
as part of the S-function for the
S-Function Builder block blk
. Use this function to
specify include statements, global variables, and code for the S-function methods.
Input Arguments
Version History
Introduced in R2022a