addAttribute
R2026bClass: slreq.ReqSet
Namespace: slreq
Add custom attribute to requirement set
Syntax
addAttribute(rs,name,type)
addAttribute(rs,name,"Checkbox",DefaultValue=value)
addAttribute(rs,name,"Combobox",List=options)
addAttribute(rs,___,Description=descr)
Description
addAttribute(
adds a custom attribute with the name specified by rs,name,type)name and the custom
attribute type specified by type to the requirement set
rs.
addAttribute(
adds a rs,name,"Checkbox",DefaultValue=value)Checkbox custom attribute with the name specified by
name and the default value specified by value to
the requirement set rs.
addAttribute(
adds a rs,name,"Combobox",List=options)Combobox custom attribute with the name specified by
name, and the list options specified by options to
the requirement set rs.
addAttribute(
adds a custom attribute with the name specified by rs,___,Description=descr)name, the type
specified by type, and the description specified by
descr to the requirement set rs.
Input Arguments
Examples
Version History
Introduced in R2020b