Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Manage Errors and Warnings

You can manage and diagnose errors and warnings generated by your model using the Diagnostic Viewer. Three types of messages are displayed by the Diagnostic Viewer: errors, warnings, and information. A model generates these messages when you load it, simulate it, or generate code from it.

Toolbar

Use the Diagnostic Viewer toolbar to manage messages.

ButtonAction

Expand, collapse, or clear messages

Filter out errors

Filter out warnings

Filter out information

Group warnings by MessageId

Search messages for specific keywords and navigate between messages

Set maximum number of models to display in tabbed panes and the maximum number of events to display per model

Message Pane

View errors, warnings, and information in a tabbed format in the message pane. This pane has the following capabilities:

  • Messages are displayed in tabs, where each tab corresponds to an open model

  • Messages are hierarchical, and each node in the hierarchy represents a single event such as model load, update diagram, simulation, or code generation.

  • A new node is generated for each successive event. You can Save or Clear a node.

  • You can locate the source of the error by clicking the Open button or the hyperlink in the message. This action highlights the source of the error in the model.

Was this topic helpful?