MATLAB Report Generator | ![]() ![]() |
Creating Log Files
The main function of a log file is to document a setup file. The log file is a text file that allows you to view setup file information and report generation information. A log file can be used for many purposes, including:
A log file includes the following:
To generate a log file, select Create Log File from the File menu. This will launch the MATLAB Editor/Debugger, displaying the log file.
The log file is saved in the same directory as the setup file and is named <setupfilename>.log
.
The following two pages show an example of a log file (this is the log file for ch1-tutorial.rpt
).
Report Generator Log File Created: 12-Oct-1998 Setup File: D:\v5\toolbox\rptgen\ch1-tutorial.rpt ======================================================== Outline Treeview: [ -] Report - ch1-tutorial.rpt [ -] Paragraph - When peaks.m runs in the workspace, the following text is displayed to the command window: [ ] Eval string -%Evaluate PEAKS in the base workspace [ ] Graphics Figure Snapshot [ ] Figure Prop Table - ======================================================== Generation Status Messages: Running component Paragraph. Running component Evaluate MATLAB Expression. Running component Graphics Figure Snapshot. Running component Figure Property Table. Beginning html output transform (this may take a moment) Output transform complete. Output file is "D:\v5\bin\nt\ch1-tutorial.html". File viewer for "D:\v5\bin\nt\ch1-tutorial.html" launched. Report complete ======================================================== (1)coutline DirectoryType: 'pwd' DirectoryName: '' FilenameType: 'setfile' FilenameName: 'index' isIncrementFilename: 0 Format: 'HTML' Stylesheet: 'html-!SingleClearTitleTocLot' isView: 1 isRegenerateImages: 1 isAutoSaveOnGenerate: 0 isDebug: 0 Description: [11x78 char] (2)cfrparagraph TitleType: 'none' ParaTitle: '' ParaText: {[1x90 char]} (3)cmleval EvalString: {8x1 cell} isCatch: 0 CatchString: {'disp(['Error during eval: ', lasterr])'} isDiary: 1 isInsertString: 0 (4)chgfigsnap FigureHandle: [] isCapture: 0 PaperOrientation: '' isResizeFigure: '' PrintSize: [5 4] PrintUnits: 'inches' InvertHardcopy: '' ImageFormat: 'AUTOHG' ImageTitle: '' (5)chgfigproptable TableTitle: '' isBorder: 1 TitleRender: 'v' ColWidths: [0.3000 1.0500] TableContent: [2x1 struct] SingleValueMode: 0 isRemoveEmptyColumns: 0 isRemoveEmptyRows: 1 ======================================================== -------------------------------------------------- MATLAB Version 5.3.0.30976a (R11) Beta 4 on PCWIN MATLAB License Number: mathworks -------------------------------------------------- MATLAB Toolbox Version 5.3 (R11) beta 4 4-Sep-1998 Simulink Version 3.0 (R11) beta 3 29-May-1998 Stateflow Version 2.0 (R11) beta 4 06-Sep-1998 Real-Time Workshop Version 2.2.0 01-Jan-1998 Report Generator tools Version 1.0 (R11) 11-May-1998 Simulink Report Generator Version 1.0 (R11) 11-May-1998
![]() | Working from the Command Line | Editing Component Attributes | ![]() |