rmiref.insertRefs
Insert links to models into requirements documents
Syntax
[total_links, total_matches, total_inserted]
= rmiref.insertRefs(model_name, doc_type)
Description
[
inserts ActiveX® controls into the open, active requirements document of type
total_links
, total_matches
, total_inserted
]
= rmiref.insertRefs(model_name
, doc_type
)doc_type
. These controls correspond to links from
model_name
to the document. With these controls, you can
navigate from the requirements document to the model.
Input Arguments
|
Name or handle of a Simulink® model |
|
A character vector that indicates the requirements document type:
|
Examples
Remove the links in an example requirements document, and then reinsert them:
Open the example model:
Open the example requirements document:
open([matlabroot strcat('/toolbox/slrequirements/slrequirementsdemos/fuelsys_req_docs/',... 'slvnvdemo_FuelSys_DesignDescription.docx')])
Remove the links from the requirements document:
rmiref.removeRefs('word')
Enter
y
to confirm the removal.Reinsert the links from the requirements document to the model:
[total_links, total_matches, total_inserted] = ... rmiref.insertRefs(gcs, 'word')