Documentation Center

  • Trial Software
  • Product Updates

Signal Generator Tasks

Attaching a Signal Generator.

If you want to,

  • Quickly connect or disconnect a Signal Generator, use the context menu.

  • Review all of the Signal Generators and their signals, use the Signal and Scope Manager.

Using the Context Menu

To add additional traces to an existing signal viewer,

  1. In the Simulink® Editor, right-click the input to a block.

  2. From the context menu, point to Create & Connect Generator, and then from the submenu, point to a product.

  3. From the list, select the generator you want as input to the block.

    The name of the generator you choose appears in a box connected to the block input.

  4. Double-click the name to edit the generator name.

  5. Right-click the name and select Generator Parameters to display a dialog box where you can change the generator parameters.

  6. Right-click the name and select Properties to display a dialog box where you can change the signal 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, and then 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.

Was this topic helpful?