MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Betriebsanweisung Seite 950

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 986
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 949
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
Seitenansicht 949
1 2 ... 945 946 947 948 949 950 951 952 953 954 955 ... 985 986

Kommentare zu diesen Handbüchern

Keine Kommentare