addConstant
Add constant to the Architectural Data section of Simulink data dictionary
Since R2023b
Syntax
Description
adds a constant with the specified name constObj
= addConstant(archDataObj
,constName
)constName
to the
archDataObj
, the Architectural Data section of a data dictionary and
returns the constant object that represents the constant.
adds a constant with the specified value to the data dictionary and returns a constant
object that represents the constant.constObj
= addConstant(archDataObj
,constName
,value
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2023b