matlab.unittest.plugins.ToFile class
Package: matlab.unittest.plugins
Superclasses: matlab.unittest.plugins.OutputStream
Output stream to write text to file
Description
The ToFile
class creates an output stream to write text to a UTF-8 encoded
file. Whenever text prints to this stream, the output stream opens the file, appends the
text, and closes the file.
Construction
matlab.unittest.plugins.ToFile(
creates an
output stream to write text to the file fname
)fname
.
Input Arguments
|
Name of file to write the text, specified as a character vector or string scalar. If
|
Properties
|
Name of file to redirect text output from the plugin, specified
in the input argument, |
Copy Semantics
Handle. To learn how handle classes affect copy operations, see Copying Objects.
Examples
Version History
Introduced in R2014a