Main Content

slreq.clear

Clear requirements and links from memory

Description

slreq.clear() clears all requirements and links loaded in memory and closes the Requirements Editor, discarding all unsaved changes.

Limitations

If at least one of the requirement sets comes from a model containing a Requirements Table block, you cannot use slreq.clear(). To use slreq.clear(), close the model first.

Version History

Introduced in R2018a