Skip to Main Content Skip to Search
Product Documentation

Nest Setup File - Allow one report setup file (.rpt file) to run inside another

Description

This component runs another report setup file at the point where the Nest Setup File component is located in the current report setup file.

The components of the inserted report setup file are stored in the current report setup file at the same level as the Nest Setup File component. Thus, inserted components have the same parent component as the Nest Setup File component.

Properties

The Nest Setup File dialog box displays the report description of the nested report, if the nested report has a report description.

Example

In the following example, the report setup file R2.rpt is nested in R1.rpt:

[-] Report - R1.rpt                [-] Report - R2.rpt
 [ ] Chapter                              [ ] 1
      [-] B                               [ ] 2
         [ ] Nest Setfile - R2.rpt       [-] Chapter
         [ ] C                              [ ] 4
      [ ] D                                 [ ] 5

The generated report is identical to the one generated by the following report setup file:

    [-] Report - R1.rpt
      [ ] Chapter
      [-] B
         [ ] 1
         [ ] 2
         [-] Section 1
           [ ] 4
           [ ] 5
         [ ] C
      [ ] D

Components that determine their behavior from their parents, such as Chapter/Subsection, are affected by components in the parent report setup file.

Insert Anything into Report?

Yes, if the nested report setup file produces a report.

Class

rptgen.crg_nest_set

See Also

Comment, Import File, Stop Report Generation, Time/Date Stamp

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS