Contenido principal

save

R2026b

Class: slreq.ReqSet
Namespace: slreq

Save requirement sets

Syntax

save(rs)
save(rs, filePath)

Description

save(rs) saves a requirement set by using its file name.

save(rs, filePath) saves a requirement set and updates its Name and Filename properties.

Input Arguments

expand all

Requirement set file, specified as a slreq.ReqSet object.

The file name and path of the requirement set, specified as a string scalar or a character vector.

Example: 'C:\MATLAB\myReqSet.slreqx'

Examples

expand all

% Create the requirement set file
rs = slreq.new("C:\MATLAB\My Requirement Set.slreqx");

% Save the requirement set file
save(rs);

% Save the requirement set file as another requirement set file
save(rs, "C:\MATLAB\Another Requirement Set.slreqx");

Version History

Introduced in R2018a

See Also