slreq.convertAnnotation
Convert annotations to requirement objects
Syntax
Description
converts a Simulink® or a Stateflow® annotation myReq
= slreq.convertAnnotation(myAnnotation
,myDestination
)myAnnotation
into a requirement
myReq
and stores it in a destination entity
myDestination
.
converts a Simulink or a Stateflow annotation myReq
= slreq.convertAnnotation(myAnnotation
,myDestination
,Name,Value
)myAnnotation
into a requirement
myReq
and stores it in a destination entity
myDestination
using additional options specified by one or
more Name, Value
pair arguments.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018a