Package: matlab.unittest.diagnostics
Superclasses: matlab.unittest.diagnostics.Diagnostic
Diagnostic using a function's displayed output
The FunctionHandleDiagnostic
class provides a
diagnostic result using a function’s displayed output. This
output is the same as the text displayed at the command prompt when MATLAB® executes
the function handle. When the diagnostic information is accessible
through information displayed as output of the function handle, the FunctionHandleDiagnostic
is
a means to provide quick diagnostic information.
When using matlab.unittest
qualifications,
a function handle can be supplied directly as a test diagnostic. In
this case, the testing framework automatically creates a FunctionHandleDiagnostic
object.
FunctionHandleDiagnostic(
creates
a new fcnHandle
)FunctionHandleDiagnostic
instance.
|
The function handle that the The resulting diagnostic information is equivalent to output displayed at the MATLAB command prompt. The result is packaged for consumption by the testing framework, which may or may not display the information at the command prompt. |
|
The function handle that the |
|
The |
Handle. To learn how handle classes affect copy operations, see Copying Objects.
matlab.unittest.diagnostics
| matlab.unittest.plugins.DiagnosticsValidationPlugin
| StringDiagnostic