How can I generate report in XML

조회 수: 3 (최근 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!!!
  댓글 수: 1
João
João 2022년 9월 20일
Any answers? same problem here.

댓글을 달려면 로그인하십시오.

답변 (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