sldiagviewer.createStage
Create stage to display diagnostic messages
Description
myStage = sldiagviewer.createStage(StageName,ModelName=ModelNameValue)StageName. The argument
          ModelNameValue specifies the model name in which the diagnostics is
        run. When you load, simulate, or build a Simulink® model, the Diagnostic Viewer displays errors, warnings, and information
        messages in groups called stages. Each stage includes all the
        diagnostics of a single operation. Each successive operation generates a new stage.
- To initialize a stage, create a stage object. 
- To end a stage, close the stage object. 
- If you create a new stage object without ending the current stage, the new stage is a child stage of the current stage. 
- If you delete a parent stage object, the parent and its child stages close in the Diagnostic Viewer. 
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2014a