slreq.cmGetVersion
Syntax
Description
queries the configured version doc_version
= slreq.cmGetVersion(domain
,doc_id
)doc_version
of the linked requirements
document doc_id
of type domain
.
queries the configured version doc_version
= slreq.cmGetVersion(domain
,doc_id
,src
)doc_version
of the linked requirements
document doc_id
of type domain
that is linked to
the Model-Based Design artifact src
.
Examples
Query Configured Version for IBM DOORS Module
Get the configured baseline version for the IBM®
DOORS® module 1213424d
.
configVer = slreq.cmGetVersion('linktype_rmi_doors','1213424d') configVer = '1.3a'
Query Configured Version for Links from a Simulink Model to IBM DOORS Module
Get the configured baseline version for links from the Simulink® model myModel.slx
for the IBM
DOORS module 1234a45a
.
configVer = slreq.cmGetVersion('linktype_rmi_doors', '1234a45a', 'myModel.slx') configVer = '2.4c'
Input Arguments
Output Arguments
Version History
Introduced in R2019b