Creating Architecture Views Interactively

Typically, the structural hierarchy of a system differs from the hierarchy of the functional requirements. With architecture views, you can sketch the system based on different hierarchies. For example, you can author a system using the requirements. This allows you to better understand what components you need to satisfy your requirements while not necessarily focusing on the structure.

You can create an architecture view interactively. This example uses the architecture model for an unmanned aerial vehicle (UAV), scExampleSmallUAV, to create a view. The view created shows the components having an interface for the light commands.

  1. In the MATLAB Command Window, enter scExampleSmallUAV. The architecture model opens in the Simulink Editor.

  2. In the Views section, click Architecture Views. The Architecture Views Editor and with a Create View dialog box open.

  3. In the Name box, enter a name for this view. For example, light_command_view.

  4. From the Select drop-down list, select Components with a port which have an interface. From the For Which drop-down list, select Name, and in the text box enter the name of an interface in the architecture model. For example, enter lightCmd. Click Add to Filter.

  5. Click the Create button. The dialog box closes and an architecture view is created using the query from the Filter box.