Create traceable links
% Create a link between the current Simulink Object and a requirement link1 = slreq.createLink(gcb, REQ) link1 = Link with properties: Type: 'Implement' Description: 'Plant Specs' Keywords: [0×0 char] Rationale: '' CreatedOn: 02-Sep-2017 15:49:28 CreatedBy: 'Jane Doe' ModifiedOn: 21-Oct-2017 11:34:12 ModifiedBy: 'John Doe' Comments: [0×0 struct] % Create a link between a requirement and the current Stateflow object link2 = slreq.createLink(REQ, sfgco);
src— Link source artifact
The link source artifact, specified as a MATLAB® structure.
dest— Link destination artifact
The link destination artifact, specified as a MATLAB structure.