sldiagviewer.Comparator.compareWithBaseline
Description
returns a structure compBaseline
= sldiagviewer.Comparator.compareWithBaseline(baselinePath
,diagMsgStage
)compBaseline
that contains the details of the
diagnostics that are added or removed in diagMsgStage
as compared to
baselinePath
, where diagMsgStage
contains the
diagnostic details generated during a model operation and baselinePath
is the saved baseline file. For information on saving baselines, see sldiagviewer.DiagnosticReceiver.saveBaseline
.
Examples
Input Arguments
Output Arguments
Alternatives
You can compare diagnostic messages using the Comparator available in the Diagnostic Viewer. For more information, see Compare Diagnostic Messages Between Model Simulations.
Version History
Introduced in R2025a
See Also
Tools
Functions
getDiagnostics
|delete
|sldiagviewer.DiagnosticReceiver.saveBaseline
|sldiagviewer.Comparator.compare
|sldiagviewer.Comparator.convertToJson
|sldiagviewer.Comparator.displayResult