MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guide de l'utilisateur Page 950

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 986
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 949
1 2 ... 945 946 947 948 949 950 951 952 953 954 955 ... 985 986

Commentaires sur ces manuels

Pas de commentaire