ChangeInformation
Description
Use ChangeInformation
objects to review information about changes
for requirement links.
Creation
Use the slreq.getChangeInformation
function to create an array of
ChangeInformation
objects.
Properties
LinksWithChangedSource
— Links with source changes
array of slreq.Link
objects
Links with source changes, specified as an array of slreq.Link
objects.
LinksWithChangedDestination
— Links with destination changes
array of slreq.Link
objects
Links with destination changes, specified as an array of slreq.Link
objects.
SourceChanges
— Source change information
structure
Source change information, specified as a structure with these fields:
Field | Data Type | Description |
---|---|---|
status | character vector | The link change status message:
|
storedRevision | character vector | The stored revision for the source artifact |
actualRevision | character vector | The current revision for the source artifact |
Data Types: struct
DestinationChanges
— Destination change information
structure
Destination change information, specified as a structure with these fields:
Field | Data Type | Description |
---|---|---|
status | character vector | The link change status message:
|
storedRevision | character vector | The stored revision for the destination artifact |
actualRevision | character vector | The current revision for the destination artifact |
Data Types: struct
Examples
Review Destination Changes
This example shows how to view the change information for a link with destination changes.
Open the project.
openProject("ShortestPathChangesExample");
Load the link set file.
myLinkSet = slreq.load("shortest_path");
Retrieve the change information for myLinkSet
.
changeInfo = slreq.getChangeInformation(myLinkSet)
changeInfo = ChangeInformation with properties: LinksWithChangedSource: [0x0 slreq.Link] LinksWithChangedDestination: [1x1 slreq.Link] SourceChanges: [1x0 struct] DestChanges: [1x1 struct]
View the change information for links with destination changes.
changeInfo.DestChanges
ans = struct with fields:
status: 'Changed'
storedRevision: '10'
actualRevision: '14'
Clear the links from memory.
slreq.clear;
Version History
Introduced in R2023b
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)