Export standalone chart for use in previous version of Stateflow
To complete the export process, you need access to the versions of Stateflow from which and to which you are exporting.
Using the later version of Stateflow, convert the standalone chart
edit chart.sfx Stateflow.exportToVersion('chart','chart_19a.sfx','R2019a')
Using the earlier version of Stateflow, open and resave the exported chart.
edit chart_19a.sfx sfsave chart_19a
source— Chart to export
Chart to export, specified as a string scalar or character vector, without any file extension. The chart must be open in the Stateflow Editor and have no unsaved changes.
file_name— Exported file name
Exported file name, specified as a string scalar or character vector. The exported file must not have the same name as the source chart.
version— MATLAB® release name
MATLAB release name, specified as a string scalar or character vector. Release names are case sensitive. You can only export to R2019a and later releases.
exported_file— Absolute path to exported file
Absolute path to exported file, returned as a character vector.
Attempting to execute an exported chart before resaving it will result in an error.