Package: matlab.unittest.plugins
Superclasses: matlab.unittest.plugins.OutputStream
Output stream to write text output to file
The ToFile
class creates an output stream that
writes text output 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.
matlab.unittest.plugins.ToFile(
creates
an fname
)OutputStream
that writes text output to the file, fname
.
|
Name of file to write the output text, specified as a character
vector or string scalar. If |
|
Name of file to redirect text output from the plugin, specified
in the input argument, |
Handle. To learn how handle classes affect copy operations, see Copying Objects.
fopen
| fprintf
| matlab.unittest.plugins
| matlab.unittest.plugins.OutputStream
| matlab.unittest.plugins.ToUniqueFile