Main Content
Simulink.SFunctionBuilder.update
Update attributes for input port, output port, or parameter of S-Function Builder block
Since R2022a
Description
Simulink.SFunctionBuilder.update(
updates the value of the specified property for an input port, output port, or parameter of
the S-Function Builder block blk
,elem
,Name=elemName
,FieldToUpdate=field
,NewValue=newVal
)blk
.
To add a new input port, output port, or parameter to an S-Function
Builder block, use the Simulink.SFunctionBuilder.add
function.
Input Arguments
Version History
Introduced in R2022a