Main Content

Requirements Definition

Author requirements, create requirements from external documents, define requirements hierarchy

Create requirements from within Simulink® through the Requirements Editor or the Requirements Browser pane in the Requirements Perspective View. Add detailed text, images, and keywords to describe requirements. Add child requirements to specify lower-level functionality. Add context to your model by showing requirements and descriptions on the Simulink canvas.

Import requirements from external applications such as Microsoft® Word, Microsoft Excel®, IBM® Rational® DOORS®, and IBM Rational DOORS Next Generation. Simulink Requirements™ also supports roundtrip workflows with ReqIF files. Revise requirements by using the Requirements Editor or by synchronizing changes from the external document.

Classes

slreq.ReqSet Work with Requirements sets
slreq.Reference Work with external requirement proxy objects
slreq.Requirement Work with Requirement objects

Functions

slreq.clearClear requirements and links from memory
slreq.convertAnnotationConvert annotations to requirement objects
slreq.editorOpen Requirements Editor
slreq.exportViewSettingsExport view settings
slreq.findFind requirement, reference, and link set artifacts
slreq.getCurrentObjectSelected objects in Requirements Editor or Requirements Browser
slreq.importImport requirements from external documents
slreq.importViewSettingsImport view settings
slreq.loadLoad requirements/link set
slreq.newCreate requirements set
slreq.openOpen requirements set
slreq.resetViewSettingsReset saved view settings

Objects

expand all

Client and Core Objects

oslc.ClientClient to integrate with OSLC providers
oslc.core.CreationFactoryOSLC service provider creation factory
oslc.core.DialogOSLC service provider user interface dialog
oslc.core.QueryCapabilityOSLC service provider query capability

Resource Objects

oslc.rm.RequirementRequirement resource for OSLC requirements management domain
oslc.rm.RequirementCollectionRequirement collection resource for OSLC requirements management domain
oslc.qm.TestCaseTest case resource for OSLC quality management domain
oslc.qm.TestExecutionRecordTest execution record resource for OSLC quality management domain
oslc.qm.TestPlanTest plan resource for OSLC quality management domain
oslc.qm.TestResultTest result resource for OSLC quality management domain
oslc.qm.TestScriptTest script resource for OSLC quality management domain
oslc.cm.ChangeRequestChange request resource for OSLC change management domain

Topics

Requirements Authoring

Author Requirements in Simulink

Create requirements and define hierarchy.

Define Requirements Hierarchy

Define the parent-child hierarchy for the requirements you associate with your model.

Requirement Types

Select requirement types.

Create Requirement Set File by Using the Simulink® Requirements™ API

Create requirement set templates by using the Simulink Requirements API.

Customize Requirements with Custom Attributes

Track more information about requirements with custom attributes.

Import and Update Requirements

Import Requirements from Third-Party Applications

Import requirements from external documents and software.

Import Requirements from Microsoft Office Documents

Import requirements authored in Microsoft Office.

Import Requirements from ReqIF Files

Import requirements authored in a third-party application by importing a ReqIF™ file.

Round-Trip Importing and Exporting for ReqIF Files

Import, edit, and export requirements with ReqIF files.

Best Practices and Guidelines for ReqIF Round Trip Workflows

Best practices and guidelines for best results during ReqIF round trip workflows.

Create and Edit Attribute Mappings

Create and customize attribute mappings for ReqIF import and export.

Update Imported Requirements

Update referenced requirements you imported from an external document.

Export Requirements

Export Requirements to ReqIF Files

Export requirements from Simulink Requirements to ReqIF files.

Export Requirement Sets and Link Sets to Previous Versions of Simulink Requirements

Learn about exporting requirement and link sets to previous versions of Simulink Requirements.

Featured Examples