Is it possible to generate multiple frames in an HTML report generated with the MATLAB Report Generator?

2 views (last 30 days)
I would like my html report generated with the MATLAB Report Generator to have the same 2 panes like a pdf report where the left pane holds the Table Of Contents and the right pane holds the content. I would like that the left pane should not scroll when I scroll through my report content in the right pane.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 12 Jan 2012
This enhancement has been incorporated in Release 2011b (R2011b). For previous product releases, read below for any possible workarounds:
Unfortunately do not currently support frames via the MATLAB Report Generator. As a workaround, please try the following steps:
1. Generate the report using the "multi-page web" stylesheet
2. Manually create a separate frameset page using the table of contents as the left hand pane named "TOC" and leaving the right hand pane blank and named "content"
3. Modify the generated table of contents page :
a. Remove the top and bottom navigation (i.e., "Next") buttons
b. Add target="content" to every HREF on the page
4. Launch the report via the frameset page
Also find attached an example that demonstrates what the final HTML files would look like. In the example, "host.html" is the frameset and report.html is the table of contents. "Report.html" has comments about the changes made.

More Answers (0)

Products


Release

R2009a

Community Treasure Hunt

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

Start Hunting!