In an AUTOSAR architecture model, to help analyze component or composition dependencies, you can create a spotlight view. A spotlight view is a simplified view of an architecture component or composition that captures its upstream and downstream dependencies.
To create a spotlight view, open an architecture model and select a component or composition. On the Modeling tab, select Architecture Views > Spotlight.
The spotlight view opens and shows the model elements to which the component or
composition connects in a hierarchy. The spotlight diagram is laid out automatically and
cannot be edited. Here is a spotlight view of component Monitor
in
AUTOSAR example model autosar_tpc_composition
. (To open the model in
a local working folder, use
openExample('autosar_tpc_composition')
.)
While in the spotlight view, you can move the spotlight focus to another component or composition. Select another component or composition, place your cursor over the displayed ellipsis, and select model cue Create Spotlight from Component.
To keep a spotlight view visible during model development, you can create the view in a separate model window. To create a separate model window, select a component or composition, right-click to open its context menu, and select Open in New Window. In the new window, create a spotlight view.
Updating the architecture model diagram with changes refreshes open spotlight views.
To return from a spotlight view to the architecture model view, click the Spotlight close icon or select a component or composition and select model cue Show in Composition.
Simulink® does not save spotlight views with the architecture model.