CreateReport:

--------------------------------------------------------------------------
   Creates CAD model report.
   It will create HTML tables or formatted output.
   If the fileName is not entered it will print to the command window. This
   doesn't make much sense with HTML or latex tables.
   You need to use an HTML enabled package to see the formatted HTML
   table. If you enter any value for bySubsystem it will organize components
   by subsystem with subtotals. Any component not in a subsystem will be
   lumped into "Miscellaneous."
--------------------------------------------------------------------------
   Form:
   CreateReport( g, type, fileName, report, bySubsystem, noZero, summary )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g               (1,1)  Component data structure
   type            (1,:)  'html', 'tex' or 'txt'
   fileName        (1,:)  Filename
   report          (1,:)  'mass', 'power', 'html', 'pdf', 'matlab'
   bySubsystem     (1,1)  Print by subystem
   noZero          (1,1)  1 means omit items with 0 value
   summary         (1,1)  1 means summary report only

   -------
   Outputs
   -------
   None

--------------------------------------------------------------------------

Children:

Common: General/ColumnSizeCellArray
Common: General/CreateHTMLTable
Common: General/CreateLatexTable