MATLAB Report Generator    
Stateflow Snapshot (chart)

Component

Stateflow Snapshot (chart)

Category

Stateflow

Description

The Stateflow Snapshot (chart) component inserts a snapshot of a Stateflow object (defined by the Object Report component) into the report. The Stateflow Snapshot (chart) component must have the Object Report as its parent.

This component only executes if the selected object in the Object Report is a graphical object. The following are graphical Stateflow objects:

Attributes

This is the Stateflow Snapshot (chart) attribute page.

Image file format
Choose the image file format (e.g., JPEG, TIFF, etc.,) from this drop box. To automatically choose the format best suited for the output format that you chose in the Report component, select Automatic, which is the default option. Otherwise, make sure that you choose an image format that your output viewer can read.

Run only if Stateflow object has at least the following number of children:

To run this component only when the current Stateflow object has at least a certain number of children, enter that number in this field. The current Stateflow object is specified by the Object Report component. This option is not active unless the selected object in the Stateflow Object Report (the parent component) is a graphical object.
This option lets you decrease the size of the report by excluding certain images. You may want to use this option when you have a large model.
Include callouts to describe visible objects
Choose whether or not to include visible callouts to describe visible objects. The default is to include callouts.
Title
Choose No title, Object name, Object name (full Stateflow path), Object name (full Simulink and Stateflow path), or Manual: for specifying whether or not you want a title for the image. The default is no title. If you choose Manual, then you need to type in the title you want to appear.

Image Size

To avoid excessively large images, choose the Attempt to shrink image to minimum legible font size (set in Stateflow Loop) option. The image is displayed as small as possible while keeping the font no smaller than the font size you specify in the Minimum legible font size option in the Stateflow Loop attribute page.

To specify an image size, choose the As specified (maintain aspect ratio) option. If you select this option, the image is displayed according to your specifications, while the aspect ratio is maintained. Thus, the image will fit at least one of the dimensions that you specify. The other dimension will change to keep the aspect ratio constant.

Specify the image size in the form wxh (width times height) in the Maximum Size field and the units in the corresponding drop box. The image size will not exceed these dimensions.

Insert anything into report?

Yes. Image.

Filename

csf_snapshot


  Property Table Stateflow Loop