Skip to Main Content Skip to Search
Product Documentation

Signal Generator Tasks

Attaching a Signal Generator.

If you want to,

Using the Context Menu

To attach a Signal Generator using the context menu,

  1. Right-click the input to a block (such as a gain block), and from the signal context menu select Create & Connect Generator.

  2. From the list that appears, select the type of scope to be attached.

    The generator will appear in the block diagram as a small rectangle that lists the generator type you have chosen. Double-click this region to display a dialog from where you can change the generators properties.

Using the Signal and Scope Manager

To attach a Signal Generator using the Signal and Scope Manager,

  1. Right-click the input to a block (such as a gain block), and from the signal context menu select Signal & Scope Manager.

  2. In the Types pane and under the Generators node, expand a product node to show the generator installed and available to you.

  3. Under an expanded product node, select a generator, and then click the Attach to model button.

    The viewer is added to a table in the Generators tab in the Generators/Viewers in model pane. The table lists the generators in your model.

    Each row corresponds to a generator. The columns specify each generator name and type.

    Clicking on the name of a generator displays the connected signals. For instance, the constant is shown connected to the second input of the sum block.

Removing a Generator

To remove the generator from the block diagram.

  1. Right-click a generator.

  2. From the context menu, select Disconnect Generator.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS