Requirements Traceability
为设计,代码和测试的链接要求,指定关系,添加标记,审核模型和代码的可追溯性,检查一致性
Create requirement links to establish traceability to model elements, test cases, test harnesses, MATLAB®代码行、数据字典ionaries, Stateflow®elements, System Composer™ architecture models, and other requirements. Specify the link type to convey the nature of the relationship, such as a model element that implements a functional requirement or a test harness that verifies a test specification requirement. Create custom requirement and link types to extend the default linking capabilities.
Use theRequirements Editorto create and view links, and use the Requirements Perspective to view requirements in the model context.
Apps
Requirements Editor | Create and edit requirements |
Classes
slreq.linkset. |
使用链接集 |
slreq.Link |
Work with link objects |
方法
setDestination |
Set requirement link destination |
SetSource. |
Set requirement link source |
Functions
slreq.cmConfigureVersion |
Set version of linked requirements documents |
slreq.cmGetVersion |
Get configured version of linked requirements documents |
slreq.clear |
清除内存的要求和链接 |
slreq.closeRequirementsManager |
Close Requirements Manager app in model |
slreq.createLink |
Create traceable links |
slreq.find |
Find requirement, reference, and link set artifacts |
slreq.generateTraceabilityDiagram |
创建可追溯性图 |
slreq.generatetraceabilitymatrix. |
Create traceability matrix |
slreq.getExternalURL |
Get navigation URL for link source or destination, requirement, test or金宝appmodel element |
slreq.getTraceabilityMatrixOptions |
Create options structure for traceability matrix |
slreq.inlinks. |
Get incoming links for requirement or other linkable item |
slreq.load |
Load requirement set or link set |
slreq.openRequirementsManager |
Open Requirements Manager app in model |
slreq.outLinks |
Get outgoing links for a block or other linkable item |
slreq.refreshCustomizations |
RegisterRequirements Toolboxcustomizations |
slreq.show |
Navigate to link source or destination |
slreq.structToObj |
将链接源或目标信息从结构转换为模型对象类型 |
Topics
创建链接
- 要求链接
Specify how requirements relate to designs, code, tests, generated code, and to each other. - 链接块和要求
Associate requirements with elements in your model by using the Simulink®canvas. - Link to Test Cases from Requirements
Associate test cases with requirements. - 要求MATLAB代码线的可追溯性
在外部文档中创建,管理和导航在MATLAB代码文件中的行和需求信息之间的可追溯性链接。
Customize Links
- 定义自定义要求和链接类型
创建自定义要求和链接类型。 - Add Custom Attributes to Links
通过创建自定义属性跟踪有关链接的自定义信息。
Visualize, Manage, and Troubleshoot Links
- Track Requirement Links with a Traceability Matrix
Track and manage links and change issues with the Traceability Matrix. - Visualize Links with a Traceability Diagram
Visualize the traceability structure of requirements and other Model-Based Design items with the Traceability Diagram. - Assess Allocation and Impact
评估需求分配和变化的影响。 - 要求一致性检查
检查丢失或未得到解决的链接。
Link with Third-Party Applications
- 链接到Microsoft Word文档中的要求
Link from requirements in a Word document to Simulink blocks. - 链接到Excel工作簿中的要求
Link fromMicrosoft®Excel®documents to requirements when using Windows®平台。 - Link and Trace Requirements with IBM DOORS Next
Link to requirements in IBM®门®Next. - Manage Navigation Backlinks in External Requirements Documents
Insert hyperlinks to navigate from requirements documents to model elements in Simulink.