Main Content

slreq.show

Navigate to link source or destination

年代yntax

Description

example

slreq.show(tgt)navigates totgt, a link source or destination. The source or destination object opens in the corresponding interface, such as a block in a model, or test in the Test Manager.

Examples

collapse all

This example shows how to navigate to a link source.

Load Requirement Set and Links

rq = slreq.load('original_thrust_reverser_requirements.slreqx'); lk = slreq.load('reqs_validation_property_proving_original_model.slmx');

Navigate to a Link Source

sl = getLinks(lk); sl2 = sl(2); slreq.show(source(sl2))

Cleanup

Cleanup commands. Clears open requirement sets without saving changes, and closes open models without saving changes.

slreq.clear; bdcloseall

Input Arguments

collapse all

Link source or destination, as may be returned bysourceordestinationfor aLink.

Example:结构体with fields

Data Types:结构体

Version History

介绍了R2020a