Requirements Editor
Create and edit requirements
Description
Use the Requirements Editor app to create requirement sets, requirements, import and export requirements, and link requirements to blocks and other supported artifacts.
Open the Requirements Editor App
Simulink® Toolstrip: On the Apps tab, under Model Verification, Validation, and Test, click Requirements Editor.
MATLAB® Toolstrip: On the Apps tab, under Verification, Validation, and Test, click Requirements Editor.
MATLAB command prompt: Enter
slreq.editor
.
Examples
Parameters
ViewShow Requirements
— Show requirements and requirement sets
on (default) | off
Show the loaded requirements and requirement sets. To enable this parameter, in the View section, click Show Requirements.You can enable this parameter or the Show Links parameter.
Show Links
— Show requirements links
off (default) | on
Show the loaded links and link sets. To enable this parameter, in the View section, click Show Links. You can enable this parameter or the Show Requirements parameter.
Columns
— Select displayed columns in requirement and link sets
Select Attributes
Select attributes and information to display when viewing loaded requirement and
link sets. In the View section, click the
Columns button . Once you display the attributes, you can filter them
with the Search feature.
Information
— Select displayed information for selected requirements
Change Information | Comments | Code Traceability
Select information you want to display in individual requirements. To access this
parameter, in the View section, click the
Information button . You can then select the following information types:
Change Information: Indicates changes to requirements. For more information, see Track Changes to Requirement Links.
Comments: Adds the comment section in the right pane of selected requirements.
Code Traceability: Displays code traceability information of requirements. For more information, see Requirements Traceability for MATLAB Code.
The default information types displayed are Change Information and Comments.
Tips
You can use the Requirements Manager to edit and link requirements without leaving the Simulink model. Open the Requirements Manager app in a Simulink model by navigating to the Apps tab and, under Model Verification, Validation, and Test, clicking Requirements Manager.
Version History
Introduced in R2017b