------------------------------------------------------------------------------- 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 latext 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 ) ------------------------------------------------------------------------------- ------ Inputs ------ g (1,1) Component data structure type (1,:) 'html', 'tex' or 'txt' fileName (1,:) Filename report (1,:) 'mass' or 'power' bySubsystem (1,1) Print by subystem ------- Outputs ------- None -------------------------------------------------------------------------------