Contenido principal

Stateflow Dialog Snapshot

R2026b

Insert snapshots of Stateflow editor dialog boxes

Description

This component reports on the current reported Stateflow® dialog box object, depending on its context. If this component is the child of a State Loop, for example, the report includes information about the dialog box of the current State. Display the current settings associated with an object or document the appearance of your custom mask dialog boxes.

Format

  • Image file format: Specifies the format for the snapshot image file.

    • Portable Network Graphics (PNG, default)

    • Scalable Vector Graphics (SVG, not rasterized)

    • Joint Photographic Experts Group (JPEG)

  • Show all tabs: Automatically generates images for all the tabs for the dialog box. If you clear this check box, Simulink® Report Generator™ creates an image of only the first tab.

Display Options

  • Scaling: Controls size of the image, as displayed in a browser. Making an image larger using this option does not affect the storage size of the image, but the quality of the displayed image may decrease as you increase or decrease the size of the displayed image.

    Generally, to achieve the best and most predictable display results, use the default setting of Use image size.

    • Use image size: Causes the image to appear the same size in the report as on screen (default).

    • Fixed size: Specifies the number and type of units.

    • Zoom: Specifies the percentage, maximum size, and units of measure.

  • Size: Specifies the size of the image. In the text field, enter the size by using the format [width height]. Then, in the dropdown list to the right of the text field, select the units for the size of the image. These fields are active only if you choose Fixed size in the Scaling dropdown list.

  • Max size: Specifies the maximum size of the image. In the text field, enter the size by using the format [width height]. Then, in the dropdown list to the right of the text field, select the units for the size of the image. These fields are active only if you choose Zoom in the Scaling dropdown list.

  • Alignment: Only reports in PDF or RTF format support this property.

    • Auto

    • Right

    • Left

    • Center

  • Title: Specifies text to appear above the snapshot.

  • Caption: Specifies text to appear under the image.

Insert Anything into Report?

Yes. Snapshot.

Class

rptgen_sl.Cdialog boxesnapshot

Version History

expand all

See Also