From: Saurabh Mahapatra on
Hello,

There are two pieces to the report generation:

1. Accessing the data in your MATLAB code or Simulink models and transform it into DocBook XML.

http://docbook.org/

This is automatically taken care by the components that ship with the product.

To generate a DocBook XML from a demo that ships, try this:

>> report('magic-square', '-fdb','-noview', '-quiet')

Access the magic-square.xml file. You will also observe that there will be a magic-square_xml_files folder containing xfrag documents(they are all XML and can be be opened in Notepad)

If you want to understand what DocBook XML is all about, see this link:

http://books.google.com/books?id=wQ3a1kBygkcC&dq=docbook&printsec=frontcover&source=bn&hl=en&ei=qSg_TOixJcKAlAeQwKm9CA&sa=X&oi=book_result&ct=result&resnum=4&ved=0CDcQ6AEwAw#v=onepage&q&f=false

2. The next step rendering the XML into one of the file formats through a stylesheet. There are a variety of implementations for this processing which you may have to research on your own. I always recommend starting with the stylesheets available with the product and tweak them.

I also refer to the DocBook XSL book by Bob Stayton:

http://www.sagehill.net/docbookxsl/

Thanks,

Saurabh
 | 
Pages: 1
Prev: 3d inverse
Next: Image Creation