How can I generate report in XML

6 次查看(过去 30 天)
Troy Vie
Troy Vie 2013-12-5
评论: João 2022-9-20
Hi,
I am using Matlab 2013a. As far as I know, simulink could generate report for different format: e.g. pdf, rtf, html and xml (DocBook). I can successful generate pdf, rtf, and html. However, the xml file generated always without any information about the model, only some sentences:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY sect-004 SYSTEM "./simulink-summary_exp2_xml_xml_files/image-003-sect1.xfrag">
<!ENTITY sect-005 SYSTEM "./simulink-summary_exp2_xml_xml_files/image-005-sect1.xfrag">
<!ENTITY sect-003 SYSTEM "./simulink-summary_exp2_xml_xml_files/image-001-chapter.xfrag">
<!ENTITY sect-002 SYSTEM "./simulink-summary_exp2_xml_xml_files/image-000-ignore.xfrag">
]>
<book lang="en">
<?dbhtml filename="simulink-summary_exp2_xml.html"?>
<!--Created by: Report Generator v3.14-->
<!--Summary Report
This setup file creates a high-level overview report for a Simulink model. It will generate a report for the all open models (or f14 if there are none).
The report is created by default in your present working directory. Make sure that you have write access in this directory.-->
<bookinfo>
<title>Simulink Summary Report</title>
<subtitle/>
<author>
<firstname>aaa.bbb
</firstname>
</author>
<pubdate>05-Dec-2013 14:03:37</pubdate>
</bookinfo>
&sect-002;
</book>
I notice that when I chose the format, the item in the menu is: File format: DocBook(no transform).
Is there anybody here can give me any suggestion to help me generate real xml format report.
Thanks!!!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Reporting and Database Access 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by