View Diagnostics

You can view and diagnose errors and warnings generated by your model using the Diagnostic Viewer. The Diagnostic Viewer displays three types of diagnostic messages: errors, warnings, and information. A model generates these messages during a runtime operation, like model load, simulation, or update diagram.

The diagnostic viewer window is divided into:

  • Toolbar menu: Offers various commands to help you manage the diagnostic messages. For more information, see Toolbar.

  • Diagnostic Message pane: Displays the error, warning, and information messages. For more information, see Diagnostic Message Pane.


To manage the diagnostic messages, use the Diagnostic Viewer toolbar.


Expand or collapse messages

Save all or latest messages in a log file

Copy all or latest messages

Clear all or all but latest messages

Filter out errors, warning, and information messages

Group similar type of messages

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

Diagnostic Message Pane

The diagnostic message pane displays the error, warning, and information messages in a tabbed format. These messages are color-coded for distinction and are hierarchical.

A new stage is generated for each successive event, you can save or clear stage. Each stage represents a single event such as model load, update diagram, or simulation.

Different types of diagnostic messages are:

  • Information message: Displays the information related to a model load. Information messages are marked as .

  • High priority warning: Displays the errors encountered during model load as a high priority warning. Any subsequent operation, like update on the model without rectifying the high priority warning messages are marked as errors. High priority warnings are marked as .

  • Warning: Displays the warnings associated during an operation on a model. Warnings are marked as .

  • Error: Displays the errors associated during an operation on a model. Errors are marked as .

      Tip   To locate the source of error, click the hyperlink in the message. The source of error in the model is highlighted.

Was this topic helpful?