opts = slreq.getTraceabilityMatrixOptions('current')
creates a traceability matrix options structure containing the artifacts from the selected
tab in the Traceability Matrix window.
This example shows how to create an options structure for a traceability matrix, then generate a matrix using those options.
Open the Requirements Definition for a Cruise Control Model project.
openProject("ShortestPath");
Create an options structure for a traceability matrix.
opts = slreq.getTraceabilityMatrixOptions;
Set the leftArtifacts and topArtifacts fields of opts. Enter a cell array containing the name of the artifacts that you want to use in your traceability matrix.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.