Stateflow |
 |
Printing and Reporting on Stateflow Charts
The Print option prints a copy of the current Stateflow diagram loaded in the Stateflow diagram editor. You can also select to print subcharts of the current diagram or the chart, subcharts, and Simulink subsystems that contain the current diagram.
Print a copy of a Stateflow diagram by doing the following:
- Open the Stateflow chart or subchart you want to print.
- Select Print from the File menu.
- The Print Model dialog box appears as follows:

In the resulting Print Model window, select the printer for this report and one of the following options for the type of report you receive:
- Current system -- Prints the current chart or subchart in view in the Stateflow editor.
- Current system and above-- Prints the current chart or subchart in view in the Stateflow editor and all the subcharts and Simulink subsystems that contain it.
- Current system and below-- Prints the current chart or subchart in view in the Stateflow editor and all the subcharts that it contains.
- All systems -- Prints the current chart or subchart in view in the Stateflow editor, all the subcharts that it contains, and all the subcharts and Simulink subsystems that contain it.
Further enhance the above reports with the following options:
- Include Print Log -- Includes a list of all printed diagrams as a preface to the print report.
- Look under mask dialog -- Applies only to the masked subsystems that might appear in Simulink subsystems that are printed with the report options Current system and below and All systems.
- Expand unique library links -- Applies only to the library blocks that might appear in Simulink subsystems that are printed with the report options Current system and below and All systems.
- Frame -- Prints a title block frame that you specify in the adjacent field on each diagram in the report.
Note
This option is also available in the Simulink window. See the topic Printing a Block Diagram in the Using Simulink documentation for more information on the preceding options and on the behavior of this command as used in Simulink. The information in this topic describes the behavior of this option only when it is used in a Stateflow diagram editor window.
|
| Printing and Reporting on Charts | | Generating a Model Report in Stateflow |  |