| Using Simulink | ![]() |
Generator and Viewer Objects
This group of controls lets you edit the sources and viewers already associated with your model. It contains the following controls.
Generators
The Generators pane displays a table listing the generators associated with your model.
Each row corresponds to a generator. The columns specify each generator's name and type.
Viewers
The Viewers pane displays a table listing the viewers associated with your model.
Each row corresponds to a viewer. The columns specify each viewer's name, type, and number of inputs. If a viewer accepts a variable number of inputs, the #in entry for the viewer contains a pull-down list that displays the range of inputs that the viewer can accept. To change the number of inputs accepted by the viewer, pull down the list and select the desired value.
Edit Buttons
Selecting the table entry for a generator or viewer enables the following buttons.
Edit Menu
Selecting a row in the generator or viewer table and pressing the right button on your mouse displays an edit menu containing entries corresponding to the edit buttons described in the preceding section. It also displays a Rename command for renaming the selected object (e.g., a viewer). Selecting this command causes Simulink to replace the selected object's name with an edit control. Use the edit control to rename the object.
| Note You can also rename a signal generator on a model's block diagram. To do this, select Edit Source Name from the context menu of an input port to which the signal generator is connected. Simulink replaces the source's name with an edit field containing the source's name. Edit the name and then click outside the field or press Enter to confirm your changes. |
| The Signal & Scope Manager | Signals connected to Generator/Viewer | ![]() |
© 1994-2005 The MathWorks, Inc.