User`s guide

13 Create a Report Program
13-98
<td>Carlos Martinez</td>
<td>38</td>
<td>Lawyer</td>
</tr>
</table>
</body>
</html>
This HTML content has elements that are not XML parsable, including:
Lack of a closing tag:
<p>This is a page
a simple page with a simple table
Inconsistent case for an element tag:
<td><b>Name</B></td>
2
In the current MATLAB folder, save the file using the file name
simple_html_example.html.
3
Display the file in an HTML browser. Although the HTML content contains elements
that are not XML parsable, it displays properly in most HTML browsers, such as
Internet Explorer.
4
In MATLAB, try appending the HTML file to a DOM report.
import mlreportgen.dom.*;
rpt = Document('html_report','docx');
htmlFile = HTMLFile('simple_html_example.html');
You receive this error.
Error using mlreportgen.dom.HTMLFile