| Contents | Index |
reqlinkobj= systest.requirements.createlink(format,location,linktype,linkvalue)
reqlinkobj= systest.requirements.createlink(reqlinkstruct)
reqlinkobj= systest.requirements.createlink(format,location,linktype,linkvalue) ) creates a requirement link object to the linkvalue in the location for a given format.
format,location,linktype,linkvalue must be specified as a string. format and linktype are not case sensitive, but location and linkvalue are case sensitive.
If linkvalue is a 1xN cell array of strings, then 1xN array of requirement link objects reqlinkobj will be created.
reqlinkobj= systest.requirements.createlink(reqlinkstruct) ) creates a requirement link object from the requirement link MATLAB structure returned from the Simulink Verification and Validation toolbox. If reqlinkstruct is a 1xN struct, then a 1xN array of requirement link objects reqlinkobj will be returned.
reqlinkstruct - Requirement links are represented in MATLAB in a structure array with the following format:
reqlinkstruct.description – Requirement description.
reqlinkstruct.doc – Document name.
reqlinkstruct.id – Location within the above document.
reqlinkstruct.keywords – User keywords.
reqlinkstruct.linked – Indicates if the link should be reported.
reqlinkstruct.reqsys – Link type registration name.
Note createlink throws an error if DOORS is not installed or open. createlink throws an error if reqlinkstruct is not a DOORS link. |
Create a requirement link object to a DOORS object "1" in the module "/demo/MyModule". Note: DOORS must be running.
reqLinkObj = systest.requirements.createLink
('DOORS', '/demo/MyModule' ,'DOORS Object','1')Create a requirement link object from a requirement link structure attached to a Signal Builder block in a model. Note: DOORS must be running.
blockPath = 'mymodel/SignalBuilderBlock/';
reqStruct = rmi('get',blockPath,1);
reqLinkObj = systest.requirements.createLink(reqStruct);
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |