MATLAB Report Generator | ![]() ![]() |
Working from the Command Line
You can use rptconvert
from the command line with varying levels of definition:
<ReportName>=rptconvert('<DocBookFileName>')
; where <ReportName>
is the name of your report, DocBookFileName
is the name of the DocBook file (with or without the .sgml
extension). The default format (HTML) and stylesheet (Single-Page Web) are used.
<ReportName>=rptconvert('<DocBookFileName>',format);
where the valid format
arguments are:
'HTML'
. The default stylesheet for the selected option is used.
<ReportName>=rptconvert('<DocBookFileName>',format,stylesheet);
for a discussion of valid stylesheet
options for each output format, see Report Format and Stylesheets. Type rptconvert #STYLESHEETLIST
for a list of valid stylesheet
arguments. Note that the stylesheet name should be entered in single quotes.
When using rptconvert
from the command line, you can create a variable that is a cell array of strings that contain conversion status messages. For example, to create a cell array of conversion status messages called messages
, type the following.
Note that this will convert the report to HTML format.
![]() | Working with the Report Conversion UI | Creating Log Files | ![]() |