matlab.automation.Verbosity - Enumeration class for verbosity levels - MATLAB (original) (raw)
Main Content
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 Name | Numeric Representation | Text Representation | Description |
---|---|---|---|
None | 0 | "None" | No information |
Terse | 1 | "Terse" | Minimal information |
Concise | 2 | "Concise" | Moderate amount of information |
Detailed | 3 | "Detailed" | Some supplemental information |
Verbose | 4 | "Verbose" | Lots of supplemental information |
Examples
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.
Name Size Bytes Class Attributes
v 1x1 8 matlab.automation.Verbosity
Version History
Introduced in R2014b
To reflect support for additional automated workflows,matlab.unittest.Verbosity
is now namedmatlab.automation.Verbosity
. The behavior of this class remains the same, and existing instances of matlab.unittest.Verbosity
in your code continue to work as expected. There are no plans to remove support for existing instances ofmatlab.unittest.Verbosity
.