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 clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
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.