Main Content

Simulink Dialog Snapshot

Insert snapshots of Simulink editor dialog boxes

Description

This component takes snapshots of Simulink® editor dialog boxes. You use it to display the current settings associated with an object or document the appearance of your custom mask dialog boxes.

The parent component of this component determines the behavior of this component.

  • Block Loop: Documents the dialog box of the current reported block.

  • System Loop: Documents the dialog box of the current reported system.

Format

  • Image file format: Specifies the format for the snapshot image file. The automatic format chooses BMP format for PDF files, and PNG for other formats.

  • 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 format [width height]. This field is active only if you choose Fixed size in the Scaling list.

  • Max size: Specifies the maximum size of the image in the format [width height]. This field is active only if you choose Zoom from the Scaling selection list.

  • Units: Specifies the units for the size of the image. This field is active only if you choose Zoom or Fixed size in the Image size selection 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.CDialogSnapshot