ot= slreq.structToObj(linkinfo)converts the source or destination link information in the structurelinkinfoto the corresponding object type,ot. The object type returned can include Simulink®blocks,Simulink Test™test cases, or other object types compatible withRequirements Toolbox™.
This example shows how to get the structure containing unique requirement source and destination information, then convert the structure information to the specific source and destination model entity.
ot— Source or destination object Requirement, model, or data entity
otis the requirement, model, or data entity corresponding to the source artifact and unique identification inlinkinfo. The value ofotdepends on the type of entity theLinkhas as source or destination.
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.