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.