Main Content

matlab.automation.Verbosity Class

Namespace: matlab.automation

Enumeration class for verbosity levels

Renamed from matlab.unittest.Verbosity in R2023a

Description

matlab.automation.Verbosity is an enumeration class that derives from the double class. Use this class to specify the level of detail in the context of automation, such as automated tests. For example, when running tests using the runtests function, you can specify the display level of event details and verbosity level of logged diagnostics as matlab.automation.Verbosity enumeration objects.

Enumeration Members

Enumeration Member NameNumeric RepresentationText RepresentationDescription
None0"None"

No information

Terse1"Terse"

Minimal information

Concise2"Concise"

Moderate amount of information

Detailed3"Detailed"

Some supplemental information

Verbose4"Verbose"

Lots of supplemental information

Examples

collapse all

Create a matlab.automation.Verbosity enumeration object that corresponds to minimal information.

v = matlab.automation.Verbosity.Terse
v = 

  Verbosity enumeration

    Terse

Display information about the variable that represents the enumeration.

whos v
  Name      Size            Bytes  Class                          Attributes

  v         1x1                 8  matlab.automation.Verbosity              

Version History

Introduced in R2014b

expand all