Using Simulink    

Annotating Diagrams

Annotations provide textual information about a model. You can add an annotation to any unoccupied area of your block diagram.

To create a model annotation, double-click an unoccupied area of the block diagram. A small rectangle appears and the cursor changes to an insertion point. Start typing the annotation contents. Each line is centered within the rectangle that surrounds the annotation.

To move an annotation, drag it to a new location.

To edit an annotation, select it:

To delete an annotation, hold down the Shift key while you select the annotation, then press the Delete or Backspace key.

To change the font of all or part of an annotation, select the text in the annotation you want to change, then choose Font from the Format menu. Select a font and size from the dialog box.

To change the text alignment (e.g., left, center, or right) of the annotation, select the annotation and choose Text Alignment from the model window's Format or context menu. Then choose one of the alignment options (e.g., Center) from the Text Alignment submenu.

Using TeX Formatting Commands in Annotations

You can use TeX formatting commands to include mathematical and other symbols and Greek letters in block diagram annotations.

To use TeX commands in an annotation:

  1. Select the annotation.
  2. Select Enable TeX Commands from the Edit menu on the model window.
  3. Enter or edit the text of the annotation, using TeX commands where needed to achieve the desired appearance.

  1. See Mathematical Symbols, Greek Letters, and TeX Characters in the MATLAB documentation for information on the TeX formatting commands supported by Simulink.

  1. Deselect the annotation by clicking outside it or typing Esc.
  1. Simulink displays the formatted text.


  Disconnecting Blocks Creating Subsystems