Create an Annotation

In this example, you create this annotation:

Add and Lay Out an Annotation

  1. Open the sldemo_foucaultsldemo_foucault model.

  2. Delete the two annotations below the model. The first annotation includes text that starts with "This model solves...", and the second annotation is a copyright line.

    Create a bounding box that includes part of each annotation. Press the Delete key.

  3. In the Simulink® Editor palette, drag the image button to where you want the annotation.

      Tip   Alternatively, you can double-click where you want the annotation.

  4. In the annotation, type Background.

  5. Drag the lower right corner of the annotation so that the annotation is about the width of the model and about twice as tall.

  6. Click in the annotation and select Diagram > Properties.

  7. In the Annotation properties dialog box set these parameters and click OK.

    • Select the Drop Shadow check box.

    • Set each Internal Margin parameter to 10.

Add a Hyperlink and Format Text

  1. Place the cursor at the end of the first line of text ("Background") and press Enter twice to create a blank line and a new paragraph.

  2. Enter this text: This model represents a Foucault pendulum.

  3. Select the string Foucault pendulum, right-click, and select Hyperlink.

  4. In the Hyperlink dialog box set these parameters and click OK.

    • Check that the Display text box contains Foucault pendulum.

    • Use the default Target setting URL Address.

    • In the Code text box, enter this URL: en.wikipedia/wiki/Foucault_pendulum.

  5. With your cursor at the end of the word "Background" and right-click and select Font > Font Properties.

  6. In the Select Font dialog box, set the font style to Bold and the size to 12.

Add a Bulleted List

  1. Place the cursor at the end of the paragraph with the hyperlink and press Enter twice.

  2. In the new paragraph, copy and paste this text:

    The pendulum can be modeled as a point mass suspended on a wire of length L. The pendulum is located at the geographical latitude lambda. It is convenient to use these reference frames:

  3. Press Enter.

  4. Right-click and select Paragraph > Bullets > Disk.

  5. In the bullet item, enter The inertial frame I (relative to the center of the Earth). and press Enter.

  6. For the second bullet, enter "The non-inertial frame N (relative to an observer on Earth's surface). The non-inertial frame accelerates as a result of rotation." and press Enter.

  7. End the bulleted list. Right-click and select Paragraph > Bullets > None.

Copy and Paste an Image from a Web Page

  1. In SVG-enabled browser (such as Google® Chrome), open the Foucault pendulum example.

    http://www.mathworks.com/help/simulink/examples/modeling-a-foucault-pendulum.html.

  2. Scroll about halfway down the example, to the Analysis and Physics section.

  3. In the Analysis and Physics section, copy the image of the two frames.

  4. In the annotation, place the cursor in a new paragraph below the second bullet. Paste the image.

Add a Numbered List

  1. Place the cursor after the image and press Enter twice.

  2. In the new paragraph, enter Interact with the Model. Press Enter twice.

  3. In the new paragraph, right-click and select Paragraph > Numbering > Decimal Dot.

  4. For the first step, enter Open the model.

  5. For the second step, enter Use MATLAB workspace variables to examine and modify initial conditions (g, L, initial conditons, Omega, and lamda).

  6. For the third step, enter Simulate the model.

  7. Place the cursor at the end of Interact with the Model (the text preceding the numbered list). Right-click and select Font > Font Properties.

  8. In the Select Font dialog box, set the font style to Bold and the size to 12.

Related Examples

More About

Was this topic helpful?