Create a stage to display diagnostic messages


myStage = sldiagviewer.createStage(StageName,'Name','Value') creates a stage with the given stage name.


collapse all

Use the createStage function to create a stage to display diagnostic messages in the Diagnostic Viewer.

% Create a Stage to display all the messages

myStage = sldiagviewer.createStage('Analysis','ModelName','vdp');

myStage = 
  Stage with no properties.

Input Arguments

collapse all

Name of the stage, specified as a character vector.

Example: 'Analysis'

Data Types: string

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside quotes. You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: 'ModelName', 'vdp'

Name of model, specified as the comma-separated pair consisting of 'ModelName' and a character vector or string.

Output Arguments

collapse all

Handle to the created stage, returned as a stage object.

Introduced in R2014a