Main Content

Review Requirements Implementation Status

Requirements Toolbox™为您为您的需求集提供实施状态摘要。您可以使用这些状态摘要来确定设计中的需求实现差距。

Implement Functional Requirements by Linking to Model Elements

The requirement type specifies the role that a requirement has. Functional requirements are meant to be implemented and contribute to the implementation status, as well as requirements with a custom type that is a subtype ofFunctional. For more information, seeDefine Custom Requirement and Link Types. When you select a requirement in the要求编辑, the requirement type is displayed in theDetailspane, underProperties. When you add a requirement, it is created with theFunctionaltype by default. If a requirement is not meant to be implemented, you can change the requirement type. To read more about requirement types, seeRequirement Types.

To implement a functional requirement, you can link it with a Simulink®, Stateflow®, or System Composer™ model element. Requirements that have an incoming link with theImplementtype or a custom link type that is defined as a subtype ofImplementare considered implemented by the implementation status. For more information, seeLink TypesandDefine Custom Requirement and Link Types.

要求集的实现状态在集合中的要求上累积汇总。必须实施每个孩子的要求,以使父母要求被视为实施。如果您需要手动实施要求,则可以将其链接到用于实施的理由对象。实施状态认为该要求缺乏实施是合理的。要了解有关要求要求的更多信息,请参见Justify Requirements.

Note

The implementation status will consider any requirement to be implemented if it has an incoming link of theImplementtype, regardless of the link source item (unless the link source is a justification, in which case it will be considered justified). To read about how to change an existing link type, seeLink Types.

When you link a requirement to a Simulink, Stateflow, or System Composer model element, the link is created with theImplementtype by default. When you select a requirement in the要求编辑, associated links and the link type are displayed in theDetailspane, under链接.

Tip

If a requirement can be implemented by multiple items and you want to get the detailed status of the implementation of each item, you can split a requirement into smaller requirements and implement each requirement separately.

View the Implementation Status

You can view the implementation status for your requirement sets from both the要求编辑and the Requirements Browser in the Requirements Perspective View. To toggle the status display in the要求编辑, selectColumns>Implementation Status. In the要求编辑or the Requirements Browser, point to theImplementedcolumn for each requirement or requirement set to view the implementation status associated with it.

The fullness of the bar indicates how many requirements in a group (including the parent requirement and child requirements) are linked to implementation items. The color indicates the level of implementation:

  • Implemented(blue): The requirement is linked to an item with anImplementtype link.

  • 有理由(light blue): The requirement is linked to a justification with anImplementtype link. For more information, seeJustify Requirements.

  • None(colorless): The requirement does not have anyImplementtype links.

See Also

相关话题