Main Content

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 grayed 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.

If you make changes in the model while an instance is open, you can synchronize the instance with the model. Update pushes the changes from the instance to the model. Refresh pulls changes to the instance from the model. Unsynchronized changes are shown in a different color. Selecting a single element enables the option to Update Element.

Note

When you save an instance of a subsystem reference, it propagates to all other instances and synchronizes. Model references continuously synchronize. In an analysis model, to ensure all unsaved subsystem references synchronize, save your changes, and then click Refresh or Update in the Analysis Viewer tool. For more information, see Edit and Save Subsystem Reference in Reference a Subsystem File in a Model.

Analysis Viewer Tool

Open the Analysis Viewer

Parameters

expand all

Create a new instance model using the Instantiate Architecture Model tool.

Open a saved MAT file of an existing instance model.

Save the current instance model as a MAT file.

Delete the current instance model.

Analyze the architecture instance using an analysis function.

Comma-separated values of optional arguments to the analysis function.

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.

Push the changes from the architecture instance to the architecture model.

Pull changes to the architecture instance from the architecture model.

Select this check box to enable continuous analysis when values change.

Select this check box to automatically refresh the instance when the composition changes.

Select this check box to overwrite the entire instance model from the composition model.

Programmatic Use

expand all

systemcomposer.analysis.loadInstance loads a saved architecture instance object from a saved MAT file that can be later opened in the Analysis Viewer.

More About

expand all

Version History

Introduced in R2019a