Main Content

matlab.unittest.diagnostics.ConstraintDiagnostic.getDisplayableString

Class: matlab.unittest.diagnostics.ConstraintDiagnostic
Package: matlab.unittest.diagnostics

Convert object to string for display

Syntax

str = matlab.unittest.diagnostics.ConstraintDiagnostic.getDisplayableString(value)

Description

str = matlab.unittest.diagnostics.ConstraintDiagnostic.getDisplayableString(value) converts the object, obj to a character vector, str for display in a diagnostic result. This conversion determines if hotlinks should be included in the character vector and truncates large numeric or cell arrays.

Input Arguments

value

Object of arbitrary class