Analysis Viewer
View and edit analysis instance model and analyze using analysis function
Description
The Analysis Viewer shows an instantiated architecture.
The Analysis Viewer shows all elements in the first column. The other columns show properties for all stereotypes chosen for the current instance. If a property is not part of a stereotype applied to an element, that field is greyed out. You can use the Filter button to hide properties for certain stereotypes. When you select an element, Instance Properties shows the stereotypes and property values of the element. You can save an instance in a MAT-file and open it again in the Analysis Viewer.
Open the Analysis Viewer
System Composer™ toolstrip: Navigate to Modeling > Analysis Model > Analysis Viewer.
In the Instantiate Architecture Model tool, select Instantiate.
Examples
Parameters
New
— Create new instance model
button
Create a new instance model using the Instantiate Architecture Model tool.
Open
— Open instance model
button
Open a saved MAT file of an existing instance model.
Save
— Save instance model
button
Save the current instance model as a MAT file.
Delete
— Delete instance model
button
Delete the current instance model.
Analyze
— Analyze architecture instance
button
Analyze the architecture instance using an analysis function.
Arguments
— Analysis arguments
comma-separated values
Comma-separated values of optional arguments to the analysis function.
Iteration Order
— Iteration type
Preorder
| Postorder
| TopDown
| BottomUp
Iteration type to specify how to process instances while using the analysis function. Select one of these options from the list:
Pre-order
— Start from the top level, move to a child component, and process the subcomponents of that component recursively before moving to a sibling component.Top-Down
— Like pre-order, but process all sibling components before moving to their subcomponents.Post-order
— Start from components with no subcomponents, process each sibling, and then move to parent.Bottom-up
— Like post-order, but process all subcomponents at the same depth before moving to their parents.
Update
— Push changes from instance to model
button
Push the changes from the architecture instance to the architecture model.
Refresh
— Pull changes to instance from model
button
Pull changes to the architecture instance from the architecture model.
Continuous
— Whether continuous analysis is enabled when values change
off (default) | on
Select this check box to enable continuous analysis when values change.
Automatic
— Whether instance automatically refreshes when composition changes
off (default) | on
Select this check box to automatically refresh the instance when the composition changes.
Overwrite
— Whether to overwrite entire instance model from composition model
off (default) | on
Select this check box to overwrite the entire instance model from the composition model.
Programmatic Use
More About
Version History
Introduced in R2019a
See Also
instantiate
| iterate
| lookup
| save
| update
| refresh
| systemcomposer.analysis.loadInstance
| systemcomposer.analysis.deleteInstance
| getValue
| setValue
| hasValue
| isArchitecture
| isComponent
| isConnector
| isPort