createReferences
Class: slreq.ReqSet
Namespace: slreq
Create read-only references to requirement items in third-party documents
Syntax
createReferences(rs, pathToFile, Name, Value)
createReferences(rs, reqFormat, Name, Value)
Description
createReferences(
creates read-only references to requirements content in an external document at
rs
, pathToFile
, Name, Value
)pathToFile
by using additional Name, Value
arguments to specify import options.
createReferences(
creates read-only references to requirements content in an external document
corresponding to the specified registered document type specified by
rs
, reqFormat
, Name, Value
)reqFormat
by using additional Name, Value
arguments to specify import options.
Input Arguments
Examples
Create Read-Only References to Requirements in Microsoft Office Documents
% Create a new requirement set and save it rs = slreq.new('newReqSet'); save(rs); % Create read-only rich text references to requirements % in a Word document createReferences(rs, 'C:\Work\Requirements_Spec.docx', ... 'RichText', true); % Create read-only plain text references to requirements % in an Excel spreadsheet createReferences(rs, 'C:\Work\Design_Spec.xlsx', ... 'columns', [2 6], 'rows', [3 32], 'idColumn', 2, ... 'summaryColumn', 3);
Version History
Introduced in R2018a