mlreportgen.report.TextFile Class
Namespace: mlreportgen.report
Description
Create a reporter to report on text files.
The mlreportgen.report.TextFile
class is a handle
class.
Creation
Description
creates an empty
reporter
= TextFileTextFile
reporter object based on a default template. Use its
properties to specify a text file on which to report and to specify report options. You
must specify a text file name to be reported. Adding an empty TextFile
reporter object, that is, one that does not specify a file name, to a report, produces
an error.
creates a
reporter
= TextFile(filename)TextFile
reporter object with the FileName
property set to filename. Adding this reporter to a report, without any further
modification, adds the text file content to the generated report. Use the reporter's
properties to customize the report options.
creates a reporter
= TextFile(p1,v1,p2,v2,...)TextFile
reporter and initializes properties
(p1,p2,...)
to the specified values
(v1,v2,...)
.
Properties
Methods
Examples
Version History
Introduced in R2023a