Main Content

save

Class: slreq.ReqSet
Package: slreq

Save a requirements set

Syntax

save(rs)
save(rs, filePath)

Description

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

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

Input Arguments

expand all

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

The file name and path of the requirements set, specified as a character vector.

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

Examples

Save Requirements Set File

% Create the requirements set file
rs = slreq.new('C:\MATLAB\My Requirements Set.slreqx');

% Save the requirements set file
save(rs);

% Save the requirements set file as another requirements set file
save(rs, 'C:\MATLAB\Another Requirements Set.slreqx');

See Also

Introduced in R2018a