| Using Simulink | ![]() |
Logging Referenced Model Signals
To log signals in a model referenced by a Model block, select the Model block and then select Log referenced signals from the model editor's Edit menu or from the block's context menu. The Model Reference Signal Logging dialog box appears.
The dialog box contains the following panes and controls.
Model Hierarchy
This pane displays the contents of the referenced model as a tree control with expandable nodes. The top-level node represents the referenced model. Expanding this node displays the subsystems that the referenced model contains and any models that it itself references. Expanding a subsystem node displays the subsystems that it contains and the models that it references.
Refresh Button
Refreshes the dialog box to reflect changes in the model hierarchy.
Signals
This pane displays the test points of the model or subsystem selected in the Model Hierarchy pane (see Working with Test Points). Check the checkbox next to a test point's name to specify that it should be logged.
Log signals as specified by the referenced model
Checking this checkbox causes Simulink to log the signals that the referenced model specifies should be logged.
Signal Properties
This pane is enabled if Log signals as specified by the referenced model is not selected. In this case, the controls on this pane allow you to specify the signal logging properties of the signal selected in the Signals pane. The values that you specify override for this instance of the referenced model those specified by the model itself. The controls correspond to the controls of the same name on the Signal Properties dialog box. See Signal Properties Dialog Box for information on how to use them.
| Logging Signals | Accessing Logged Signal Data | ![]() |
© 1994-2005 The MathWorks, Inc.