MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guide de l'utilisateur Page 241

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 674
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 240
Custom Link Type Synchronization
9-19
Custom Link Type Synchronization
Simulink Verification and Validation provides an API for synchronization of links
for custom requirements documents. To support synchronization for your custom
requirements link type, create a custom type implementation in a new subclass and
inherit from the rmisync.SyncApi base class in the Requirements Management
Interface API.
For example, to implement synchronization for links to requirements documents in
Requirements Interchange Format (RIF/ReqIF), create the new package +rmireqif with
the new subclass @SyncApiReqif:
matlabroot/toolbox/slvnv/reqmgt/+rmireqif/@SyncApiReqif/SyncApiReqif.m
Your subclass needs to implement the following methods:
% Open surrogate module in your RM application
openSrgModule(this)
% Convert from identifier strings stored by RMI
% to numeric IDs used by your RM application
numericIds = idStrToNum(this, strIds)
ids = srgIds(this, reqStrings)
% Convert from your RM links data to Simulink link structure array
slReqs = linkinfoToReqs(surrlinksInfo)
% update surrogate module after objects were deleted in Simulink
markDeleted(this, deletedIds)
% push Simulink model structure updates to your RM application
firstNewId = updateModule(this, mods, dmDeletedIds)
% push RMI link updates from Simulink to your RM application
newLinkStr = propagateChanges(this, origReqs, srgId, srgLinkInfo)
updateSrgLinks(this, surrogateLinkUpdates)
updateModuleProps(this)
% query updates from surrogate module
reqs = updateSrgLink(this, reqs, doorsId)
myReqs = updateDocNames(this, myReqs)
Vue de la page 240
1 2 ... 236 237 238 239 240 241 242 243 244 245 246 ... 673 674

Commentaires sur ces manuels

Pas de commentaire