Clear Filters
Clear Filters

How can I generate report in XML

6 views (last 30 days)
Troy Vie
Troy Vie on 5 Dec 2013
Commented: João on 20 Sep 2022
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!!!

Answers (0)

Categories

Find more on Reporting and Database Access in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!