sfprint
R2026bExport Stateflow chart images
Syntax
Description
sfprint exports the current chart to the default
printer.
sfprint(
exports charts to the location specified by source,format,destination)destination.
sfprint(
exports the complete chart hierarchy or only the current view depending on the
setting of source,format,destination,wholeChart)wholeChart. Set wholeChart to
1 to export the complete chart hierarchy or
0 to export the current view.
Examples
Input Arguments
Tips
To generate higher-resolution images, maximize the Stateflow® Editor window before calling
sfprint.Use
gcsto export all charts in the current system without specifying individual paths.Set
wholeChartto0to capture only the visible portions of large, complex charts.To paste the highest-quality image into a Microsoft Office application, use the "meta" argument for the format input argument. Use
metaformat on Windows for highest quality when pasting into Microsoft Office applications.To export individual subcharts within a chart hierarchy, or more advanced printing options, use Simulink® Report Generator™
Version History
Introduced before R2006a