Main Content

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

You can export requirement sets and link sets to files that are compatible with previous versions of Requirements Toolbox™ and MATLAB®. You can export requirement sets and link sets to R2017b and later.

Export Requirement Sets

You can export requirement sets from the Requirements Editor. Before you export a requirement set, ensure that it is not open in the Requirements Perspective in a Simulink® model.

Open the Requirements Editor using one of these approaches:

  • At the MATLAB command line, enter:

    slreq.editor
  • In the MATLAB Apps tab, under Verification, Validation, and Test, click the Requirements Editor app.

  • In the Simulink Apps tab, under Model Verification, Validation, and Test, click the Requirements Editor app.

In the Requirements Editor, select Open to open a requirement set. Select Show Requirements to view the requirement set. Click the requirement set, then select Save > Export to Previous. In the dialog, enter your desired name for the requirement set. Select the MATLAB version that you want to export to from the Save as type list.

If you export a requirement set that has outgoing links to a previous version, Requirements Toolbox also exports a link set file that is compatible with the selected version.

You can also use slreq.ReqSet.exportToVersion to export a requirement set and associated link sets to a previous version.

Export Link Sets

You can export link sets to previous versions. The method that you use depends on the associated artifact. If a link set is associated with a requirement set, exporting the requirement set also exports the link set. For more information, see Export Requirement Sets.

If a link set is associated with a Simulink model, exporting the model also exports the link set. For more information, see Export Model to Previous Simulink Version (Simulink).

You can also directly export the link set to a previous version by using slreq.LinkSet.exportToVersion.

See Also

| |