mlreportgen.report.TextFile class
Package: 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
TextFile 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.reporter
= TextFile()
creates a
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.reporter
= TextFile(filename)
creates a TextFile reporter and initializes properties reporter
= TextFile(p1,v1,p2,v2,...)(p1,p2,...)
to
the specified values (v1,v2,...)
.
Properties
Methods
Examples
Version History
Introduced in R2023a